CDPGuidesSupport

Credential Identity

Confirm which organization an API key or OAuth access token belongs to and when it expires, without needing any resource permission.

Confirm which organization an API key or OAuth access token belongs to and when it expires. The endpoint checks no resource permission: an API key with any scope, or an OAuth access token with the standard openid and user:org:read scopes, can check itself before calling other operations. Authentication failures return the same 401 and 403 responses described in Authentication.

GET
/rest/v1/me
AuthorizationBearer <token>

Ours Privacy API key

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/rest/v1/me"
{  "organizationId": "string",  "organizationName": "string",  "expiresAt": "2019-08-24T14:15:22Z"}

How is this guide?