Get User Account
GET/v1/users/accounts
Get all user accounts related to the user.
Request
Query Parameters
Default value: 1
Page number.
Possible values: <= 100
Default value: 20
Page size. Max size is 100.
Possible values: [id
, document
, name
, fullName
, active
, state
, created_at
]
Page sort attribute.
Possible values: [asc
, desc
]
Default value: asc
Page order.
Possible values: non-empty
and <= 50 characters
Search filter. This filter is used to search for user account info.
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
- 422
User accounts returned successfully.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- NATURAL_PERSON.
- LEGAL_PERSON.
- EI.
- LTDA.
- MEI.
- SA.
- SLU.
- SS.
- ]
Page number.
Page size.
Page total.
Total of elements.
data object[]required
Onboarding data.
User account ID.
Possible values: [pending
, active
, expired
, deactivated
]
User state.
User short name or company trade name.
User full name or company name.
User gender.
User mother name.
User birth date.
User CPF or company CNPJ.
User or company phone number.
User or company e-mail.
User should start as active?
Person type:
Legal type:
User created date.
{
"page": 1,
"page_size": 20,
"page_total": 20,
"total": 100,
"data": [
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"state": "active",
"name": {},
"full_name": {},
"genre": {},
"mother_name": {},
"birth_date": "1984-11-03",
"document": {},
"phone_number": "5511955551234",
"email": "new-user@zrobank.com.br",
"active": {},
"person_type": "LEGAL_PERSON",
"legal_person_type": "LTDA",
"created_at": "2025-03-11T19:15:54.244Z"
}
]
}
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.