CDPGuidesSupport

Credential Identity

Confirm which organization an API key or OAuth access token belongs to and when it expires.

Confirm which organization an API key or OAuth access token belongs to and when it expires. Any valid credential can call it, so a client can check its key or token 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?