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`](../../api-reference/organization/list) or [`GET /api/organizations/{id}`](../../api-reference/organization/get) instead.

Authentication

AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic

Basic organization-scoped API key

Headers

X-Polytomic-VersionstringRequired

Response

OK
dataobject

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error