GET /organization — the caller's active organization + the caller's own role.
const url = 'https://example.com/api/organization';const options = {method: 'GET'};
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/api/organizationResponses
Section titled “Responses”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
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.
personal (auto-provisioned, discardable while pristine) or team (adopted).
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"}