curl --request GET \
--url https://api.sandbox.tesouro.com/identity/v1/users \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdDateTime": "2023-11-07T05:31:56Z",
"email": "<string>",
"name": "<string>",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationName": "<string>",
"status": "<string>",
"jobTitle": "<string>",
"lastLoggedInDateTime": "2023-11-07T05:31:56Z"
}
],
"nextPaginationToken": "<string>",
"prevPaginationToken": "<string>"
}Returns users from organizations below the caller in the hierarchy (Bank → VSP → Embedded). Supports optional filtering by organization ID, organization type, user status, and pagination. Requires the org:read:all scope.
Token types: APP, USER | Required scopes: org:read:all
curl --request GET \
--url https://api.sandbox.tesouro.com/identity/v1/users \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdDateTime": "2023-11-07T05:31:56Z",
"email": "<string>",
"name": "<string>",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationName": "<string>",
"status": "<string>",
"jobTitle": "<string>",
"lastLoggedInDateTime": "2023-11-07T05:31:56Z"
}
],
"nextPaginationToken": "<string>",
"prevPaginationToken": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Filter to a specific related organization.
Filter by organization type (VERTICAL_SOFTWARE_PROVIDER, EMBEDDED).
BANK, EMBEDDED, PLATFORM, TRANSACTOR, VERTICAL_SOFTWARE_PROVIDER Maximum number of results to return (default: 20, max: 100).
Opaque pagination token from a previous response for cursor-based navigation.
Filter by user status (default: ACTIVE). Filter for user status when querying users.
ACTIVE, INACTIVE, INVITED, ALL Returns the list of users from related organizations.
Response DTO for listing users from related organizations.
Show child attributes
A token to pass as pagination_token to get the next page of results. Null if there are no more pages after this one.
A token to pass as pagination_token to get the previous page of results. Null if this is the first page.
Was this page helpful?