Upload attachment
OAuth scope: attachment.write
Upload an attachment
This endpoint allows you to upload an attachment to be then linked to an external transfer. Valid files are: JPEG, PNG and PDFs. The endpoint is particularly useful when you want to link an attachment to an external transfer via POST /v2/external_transfers and POST /v2/external_transfers/checkout.
Inside Qonto, attachments are files uploaded onto transactions by users. Attachments typically correspond to the invoice or receipt, and are used to justify the transactions from a bookkeeping standpoint.
Request
- Base URLhttps://thirdparty.qonto.com
- Auth
- OAuth 2Authorization codehttps://oauth.qonto.com/oauth2/authToken URLhttps://oauth.qonto.com/oauth2/tokenScopesattachment.write
- or API key in header Authorization
Headers
The API supports idempotency for safely retrying requests without accidentally performing the same operation twice.
Required only for Sandbox API requests; to get one, please submit the following form: https://getqonto.atlassian.net/servicedesk/customer/portal/5/group/47/create/143.
Request body application/x-www-form-urlencoded
Response
returns an attachment ID
Changes
No recorded changes to this operation across all 2 revisions of this API.