List orgs in the caller's tenant
GET
/v1/orgs
const url = 'https://example.com/v1/orgs?limit=25';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/v1/orgs?limit=25' \ --header 'Authorization: Bearer <token>'Cursor-paginated list of orgs. Optional ?nameContains= narrows by substring match on Org.name.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”limit
integer
1..100. Default 25.
cursor
string
Opaque cursor from a prior response. Absent → first page.
nameContains
string
Substring match on Org.name.
Responses
Section titled “Responses”Page of orgs.
Media typeapplication/json
object
data
required
Array<object>
object
id
required
OrgId — opaque branded string.
string
tenantId
required
string
name
required
string
slug
required
string
createdAt
required
string
updatedAt
required
string
hasMore
required
boolean
nextCursor
string
Examplegenerated
{ "data": [ { "id": "example", "tenantId": "example", "name": "example", "slug": "example", "createdAt": "example", "updatedAt": "example" } ], "hasMore": true, "nextCursor": "example"}Malformed query parameter.
Media typeapplication/json
object
error
required
object
code
required
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
string
message
required
string
details
Optional, kind-specific.
object
key
additional properties
any
requestId
required
Server-assigned request id; also echoed via X-Request-Id header.
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}Missing / malformed / expired / revoked bearer token.
Media typeapplication/json
object
error
required
object
code
required
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
string
message
required
string
details
Optional, kind-specific.
object
key
additional properties
any
requestId
required
Server-assigned request id; also echoed via X-Request-Id header.
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}