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

Request

  • Base URL
    https://app.polytomic.com
  • Auth
    • HTTP bearer
    • or HTTP basic

Headers

X-Polytomic-Versionstring

Response

OK

Example response

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

Changes

No recorded changes to this operation across all 51 revisions of this API.