List organizations
List organizations the caller has access to.
Query parameters
Opaque pagination token from a previous response.
Opaque pagination token from a previous response.
Maximum number of items to return per page (1-100). Default: 50.
Maximum number of items to return per page (1-100). Default: 50.
Filter by the caller's role in the organization. If omitted or empty, returns all organizations the caller can view (no filtering). REST: ?role=admin or ?role=admin&role=owner
Filter by the caller's role in the organization. If omitted or empty, returns all organizations the caller can view (no filtering). REST: ?role=admin or ?role=admin&role=owner
Response
Success
Example response
{
"items": [
{
"id": "org_01h2xcejqtf2nbrexx3vqjhp41",
"name": "Acme Corporation"
}
],
"pagination": {
"next_page_token": "eyJpZCI6ImRvY18wMWgyeGNlanF0ZjJuYnJleHgzdnFqaHA0MSIsImQiOiJuZXh0In0",
"prev_page_token": "eyJpZCI6ImRvY18wMWgyeGNlanF0ZjJuYnJleHgzdnFqaHA0MSIsImQiOiJwcmV2In0"
}
}Changes
Changed in 1 of the 50 revisions of this API.1
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○