Skip to main content
POST
/
reconciliations
Create a reconciliation
curl --request POST \
  --url https://api.endclose.com/v1/reconciliations \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "name": "<string>",
  "run_type": "continuous",
  "side_a_stream_ids": [
    "<string>"
  ],
  "side_b_stream_ids": [
    "<string>"
  ]
}
'
{
  "name": "<string>",
  "id": 123,
  "run_type": "continuous",
  "side_a_streams": [
    {
      "key": "<string>",
      "name": "<string>",
      "id": 123,
      "description": "<string>",
      "type": "<string>"
    }
  ],
  "side_b_streams": [
    {
      "key": "<string>",
      "name": "<string>",
      "id": 123,
      "description": "<string>",
      "type": "<string>"
    }
  ],
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-API-KEY
string
header
required

Body

application/json
name
string
required
run_type
enum<string>
default:continuous
Available options:
continuous,
batch
side_a_stream_ids
string[]

IDs of data streams to assign to side A

side_b_stream_ids
string[]

IDs of data streams to assign to side B

Response

Reconciliation created

name
string
required

Human readable name for the reconciliation

id
integer
run_type
enum<string>
default:continuous
Available options:
continuous,
batch
side_a_streams
object[]

Data streams on side A of the reconciliation

side_b_streams
object[]

Data streams on side B of the reconciliation

created_at
string<date-time>