Profiles

Identify the caller

Return the identity behind the API key making the request: the organization it belongs to, and, for user-scoped keys, the user it acts as.

Works with either a user-scoped key (u:gcai_...) or an org-scoped key (gcai_...). Org-scoped keys carry no user identity, so user is null for them. Use this to confirm which credential and account a request resolves to before calling /me/profile or /company-profile.

get/me

Request

Response

The caller identity

token_type'user' | 'organization' required

Scope of the API key making the request. user for personal keys (u:gcai_...), organization for org keys (gcai_...).

api_key_idstring required

Identifier of the API key used to authenticate the request

Changes

No recorded changes to this operation across all 1 revision of this API.