cURL
curl --request POST \ --url https://api.conduit.financial/documents \ --header 'Content-Type: multipart/form-data' \ --header 'X-API-Key: <api-key>' \ --header 'X-API-Secret: <api-key>' \ --form file='@example-file' \ --form scope=transaction \ --form type=invoice \ --form purpose=transaction_justification
{ "id": "doc_2ofTAESrTs4uQ8N3yGBMhGj59jV" }
Upload a new document
Includes an API key in the HTTP headers to authenticate the client.
Includes an API secret in the HTTP headers to authenticate the client.
transaction
counterparty
customer
invoice
contract
transaction_justification
The created document
A valid Document ID
"doc_2ofTAESrTs4uQ8N3yGBMhGj59jV"