Skip to main content
GET
/
v2
/
attachments
/
{id}
Retrieve an attachment
curl --request GET \
  --url https://thirdparty.qonto.com/v2/attachments/{id} \
  --header 'Authorization: Bearer <token>'
{
  "attachment": {
    "id": "<string>",
    "created_at": "<string>",
    "file_name": "<string>",
    "file_size": "<string>",
    "file_content_type": "<string>",
    "url": "<string>",
    "probative_attachment": {
      "status": "<string>",
      "file_name": "<string>",
      "file_content_type": "<string>",
      "file_size": "<string>",
      "url": "<string>"
    }
  }
}

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

Returns the attachment identified by the id path parameter.

attachment
object