GET
/
v2
/
attachments
/
{id}
curl --request GET \
  --url https://thirdparty.qonto.com/v2/attachments/{id} \
  --header 'Authorization: Bearer <token>'
{
"attachment": {
"id": "71c32755-d0c3-4d82-9a78-774caa9d8556",
"created_at": "2021-03-23T14:21:51.000Z",
"file_name": "Foobar",
"file_size": "666",
"file_content_type": "image/png",
"url": "https://my-s3.url.qonto.bucket.com/123456789",
"probative_attachment": {
"status": "unavailable",
"file_name": "statement.pdf",
"file_content_type": "application/pdf",
"file_size": "666",
"url": "https://my-s3.url.qonto.bucket.com/123456789"
}
}
}

Authorizations

Authorization
string
header
required

Bearer authorization header: Bearer <token>, where <token> is the access token received from the authorization server at the end of the OAuth 2.0 flow.

Headers

X-Qonto-Staging-Token
string

Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.

Path Parameters

id
string
required
Example:

"e72f6e43-0f27-4415-8781-ad648a89b47f"

Response

200
application/json

Returns the attachment identified by the id path parameter.

The response is of type object.