Skip to content
Dashboard
Theme
Theme

List organizations

GET /v1/organizations: List organizations.

View Markdown

GET /v1/organizations

Scope
organizations:read
Auth
Secret key (sk_…)
Since
1.0
  • limit integer

    min 1 · max 100 · default 20

  • after string

    Cursor from next_cursor.

  • before string

  • domain string

  • status string

  • sso_provider string

  • dsync_provider string

  • external_id string

  • expand[] array of string

    Related objects to expand, max depth 2.

  • metadata object

    Exact metadata match, metadata[key]=value; every pair must match. At most 5 pairs; keys up to 40 characters, values up to 500.

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

Errors share one shape; see the error code catalogue.

curl -X GET \
"https://api.ohauthcat.com/v1/organizations" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"object": "list",
"data": [
{
"id": "org_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"object": "organization",
"legacy_ids": {
"workos": "org_01H8ZQ4M7K2X8V3N5B6C1D0E9F"
},
"name": "Acme Corp",
"external_id": "acme-123",
"status": "active",
"allowed_intents": [
"sso"
],
"consent_screen": "environment_default",
"metadata": {
"plan": "enterprise"
},
"created_at": "2026-01-15T09:30:00Z",
"updated_at": "2026-01-15T09:30:00Z"
}
],
"has_more": true,
"next_cursor": "cur_01J9Z3K5V7W8X9Y0Z1A2B3C4D5"
}