X-API-Key header, and covers everything from creating data streams to running agents.
Base URL and versioning
Every endpoint lives under one base URL:Base URL
v1.
Send request bodies as JSON with Content-Type: application/json. The only exception is attaching a file to an agent, which takes a multipart upload.
cURL
404 with a JSON body that points you back to the OpenAPI specification.
Environments and API keys
Each End Close organization starts with two environments, Sandbox and Production. Data never crosses between them: a record created in Sandbox is invisible to Production, and the reverse. Each environment has its own API key, and the key decides which environment a request reads and writes. Sandbox keys start withsk_test_ and Production keys start with sk_live_. Find them in the End Close app under Settings > API keys, switching environment to see the other key.
See Authentication for how to send the key.
Conventions
Resources
Records
The individual transactions End Close reconciles, one per line of source data.
Bulk requests
Track, cancel and retry asynchronous uploads of up to 1,000 records.
File imports
Files loaded into a data stream, with their progress and row errors.
Data streams
The sources records arrive from, such as a bank account or a processor.
Property definitions
Named, typed properties you define for a data stream’s records.
Reconciliations
Pairs of data streams End Close matches against each other.
Reconciliation rules
The matching and rollup rules a reconciliation applies.
Reconciliation stories
Ordered chains of reconciliations that trace money end to end.
Reconciliation matches
Groups of records End Close or a person matched together.
Reconciliation exceptions
Unmatched or overdue records that need review, and their findings.
Bank accounts
The bank accounts your data streams belong to.
Bank account balances
Balances for a bank account by date and balance type.
Agents
Create agents, run them and read their runs.