v1

latestOpenAPI 3.0.32026-08-06138294578.6 KB
Organization

Get Current Organization

Returns the organization the caller is authenticated against.

This endpoint is the safest way to discover the effective organization for a user-scoped or organization-scoped credential. It does not let callers inspect arbitrary organizations; it only returns the organization implied by the credential that authenticated the request.

If you need to enumerate or look up organizations across a partner account, use GET /api/organizations or GET /api/organizations/{id} instead.

get/api/organization

Headers

X-Polytomic-Versionstring

Response

OK

Example response

{
  "data": {
    "issuer": "https://example.com",
    "name": "My Organization",
    "sso_domain": "example.com",
    "sso_org_id": "123456"
  }
}