curl --request GET \
--url https://api.sandbox.tesouro.com/identity/v1/organizations/visible-ids \
--header 'Authorization: Bearer <token>'{
"organizationIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}Returns all organizations below the caller in the hierarchy (e.g., a bank sees its VSPs and their acceptors). Does NOT return organizations above the caller in the hierarchy. This endpoint returns only IDs for minimal payload size - ideal for caching by consuming services. 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/organizations/visible-ids \
--header 'Authorization: Bearer <token>'{
"organizationIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Returns the list of visible organization IDs.
Response DTO containing the list of organization IDs visible to the caller.
The list of organization IDs that are visible to the caller (children, grandchildren, etc. in the hierarchy).
Was this page helpful?