Get Legal Representative Document by ID
GET/v1/users/legal-representatives/:id/documents/:doc_id
Get a specific document for a legal representative linked to the authenticated legal person.
Request
Path Parameters
Legal representative ID.
Document ID.
Header Parameters
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR, en-US]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
UUID (v4) of the product that the request should use. Send it explicitly when the authenticated user has more than one product or when the integration must select a specific product. If omitted and the endpoint does not require it, the API uses the authenticated user's default product.
UUID (v4) of the user on whose behalf the request should run within the selected product. If omitted, the request runs as the authenticated user. Requires x-product-uuid.
Responses
- 200
- 400
- 401
- 403
- 422
The legal representative document returned successfully.
- application/json
- Schema
- Example (from schema)
Schema
Legal representative document ID.
Legal representative document file ID.
Legal representative document file name.
Legal representative document file created at.
Legal representative document file updated at.
Possible values: [selfie, identity_document, identity_document_front, identity_document_back, qualification_declaration, income_declaration, address_proof]
Legal representative document type.
Possible values: [id, cnh, passport]
Identity document subtype (id, cnh, passport). Only for identity_document/identity_document_front/identity_document_back.
{
"id": "1b2c3d4e-1234-5678-9abc-def012345678",
"file_id": "8fc58500-b12e-49d7-892c-dfd704b94c2d",
"file_name": "selfie.jpg",
"created_at": "2024-01-15T10:30:00.000Z",
"updated_at": "2024-01-15T10:35:00.000Z",
"type": "selfie",
"identity_document_type": "id"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If the authenticated user does not have permission.
If any required params are missing or has invalid format or type.