Account
List organizations
Lists the organizations visible to the caller's credential. An organization-scoped API key (pbo_) returns exactly the organization it belongs to. A user credential (account-scoped API key or dashboard session token) returns the organizations the user is a member of, including the caller's role in each.
AuthorizationBearer <token>
JWT issued by Better Auth. Verified via JWKS.
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/organizations"{ "organizations": [ { "id": "org_abc123", "name": "Acme Corp", "slug": "acme-corp", "role": "owner" } ]}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}