v2

latestOpenAPI 3.0.3raw.githubusercontent.com2025-01-245593419.2 KB
Attachments

Show attachment

OAuth scope: organization.read


Obtain the details (e.g: download URL) for a specific attachment.


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.

You can retrieve the IDs of those attachments inside each Transaction object, by calling List transactions.

Probative attachment is another version of attachment, compliant with PAdES standard.

Important: for security reasons, the url you retrieve for each Attachment is only valid for 30 minutes. If you need to download the file after more than 30 minutes, you will need to perform another authenticated call in order to generate a new download URL.

Note: if you download the file using curl, replace the \u0026 references by & in the url string.

get/v2/attachments/{id}

Path parameters

idstring required

Headers

X-Qonto-Staging-Tokenstring

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.

Response

returns an attachment