Skip to main content
GET
/
identity
/
v1
/
organizations
/
visible-ids
Gets all organization IDs visible to the caller by traversing the hierarchy downward.
curl --request GET \
  --url https://api.sandbox.tesouro.com/identity/v1/organizations/visible-ids \
  --header 'Authorization: Bearer <token>'
{
  "organizationIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Application (M2M) OAuth2 access token (client credentials).

Response

Returns the list of visible organization IDs.

Response DTO containing the list of organization IDs visible to the caller.

organizationIds
string<uuid>[]
required

The list of organization IDs that are visible to the caller (children, grandchildren, etc. in the hierarchy).