Skip to navigation

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.

Authentication

AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic

Basic organization-scoped API key

Headers

X-Polytomic-VersionstringOptional

Response

OK
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error