Reconciliation
Upload external records
Upload a CSV or JSON file of external records for reconciliation.
/reconciliation/uploadAuthorization
If set, the API uses an API key for authentication. Include the following header in your requests: X-blnk-key: <api-key>.
Replace <api-key> with your secret API key. Ensure the key is kept secure and not exposed in public repositories or client-side code.
See also: Core API key.
Send the file as multipart form data. See External data for the row format.
Body
filefile
CSV, or a JSON array of records. A missing file returns 400 with RECON_UPLOAD_FAILED. A file Core cannot parse or store, including a duplicate id, returns 500 with RECON_UPLOAD_PROCESSING_FAILED.
sourcestring
Name copied onto every stored row, such as Stripe. A source column in the file is not kept.
Response
upload_idstring
Id of the upload. Pass it as upload_id to Start reconciliation.
record_countinteger
How many rows were stored.
sourcestring
The source name you sent.