GET
/
register
/
registrations
/
{registrationId}
/
files
/
{id}
Retrieve a file
curl --request GET \
  --url https://thirdparty-sandbox.staging.qonto.co/register/registrations/{registrationId}/files/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Qonto-Partner-Id: <api-key>' \
  --header 'X-Qonto-Staging-Token: <api-key>'
{
  "registration_file": {
    "id": "d7344200-97d7-44b7-8fc5-9e5fb2f8831b",
    "filename": "document.pdf",
    "filesize_bytes": 981723,
    "url": "https://example-s3-url",
    "created_at": "2021-08-17T12:31:32.689Z",
    "file_type": "organization-deposit-certificate",
    "stakeholder_id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authorization header: Bearer <token>. To get your <token>, please sign up to the Developer Portal.

Qonto-Partner-Id
string
header
required

API Key authorization header: Qonto-Partner-Id: <partner_id>. To get your <partner_id> please, sign up to the Developer Portal.

X-Qonto-Staging-Token
string
header
required

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

Path Parameters

id
string
required

id of the File resource

registrationId
string
required

id of the Registration resource

Response

Returns the file identified by the id path parameter.

registration_file
object