Get all Legal person onboarding documents by onboarding ID.
GET/v1/users/onboardings/legal-person/:id/documents
Retrieve all documents (doc_id, file_id, type, created_at, updated_at) for a specific onboarding.
Request
Path Parameters
Onboarding 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.
The product ID is a UUID (v4) used to identify the Z.ro product configuration.
The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.
Responses
- 200
- 400
- 401
- 403
- 422
Documents retrieved successfully.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Onboarding ID.
documents object[]required
List of documents.
Document ID.
File ID.
Possible values: [contrato_social, balanco_patrimonial, declaracao_faturamento, politica_kyc_pld]
Document type. Possible values: contrato_social,balanco_patrimonial,declaracao_faturamento,politica_kyc_pld
Document creation date.
Document update date.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"documents": [
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"file_id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"type": "contrato_social",
"created_at": "2025-12-12T22:44:48.059Z",
"updated_at": "2025-12-12T22:44:48.059Z"
}
]
}
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.