Skip to content
Select themeSelect language

GET /organization — the caller's active organization + the caller's own role.

GET
/api/organization
curl --request GET \
--url https://example.com/api/organization
Media typeapplication/json

GET /organization response — the caller’s active organization plus the caller’s OWN role in it (#626 GAP A). caller_role lets the org-members surface server-paginate: the FE derives its own RBAC role from this field instead of scanning the full member list (where the caller can fall off a loaded page). None when the caller is not a member. The org fields mirror Organization 1:1 so this is a strict superset.

object
caller_role

The authenticated caller’s org role (owner | admin | billing_admin | member), or None when they are not a member of this org. Resolved independently of member-list pagination and of member status — mirrors the page’s deriveActiveOrgRole over the unfiltered member list.

string | null
created_at
required
string format: date-time
id
required
string format: uuid
kind
required

personal (auto-provisioned, discardable while pristine) or team (adopted).

string
name
required
string
slug
required
string
updated_at
required
string format: date-time
Examplegenerated
{
"caller_role": "example",
"created_at": "2026-04-15T12:00:00Z",
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"kind": "example",
"name": "example",
"slug": "example",
"updated_at": "2026-04-15T12:00:00Z"
}