Decode the token
GET {{baseUrl}}/api/v1/auth/decode
The API validates the token. It decodes the token and returns the permissions that the token has. It also returns the account and instance details for which the token as access.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"status":"\u003cstring\u003e","instanceUrl":"\u003cstring\u003e","serviceAccountId":"\u003cstring\u003e","accountId":"\u003cstring\u003e","instanceId":"\u003cstring\u003e","user":{},"scopes":["\u003cstring\u003e","\u003cstring\u003e"],"claims":["\u003cstring\u003e","\u003cstring\u003e"],"grantType":"\u003cstring\u003e","issuerUrl":"\u003cstring\u003e","expiryAt":"\u003cstring\u003e","iat":"\u003cnumber\u003e","exp":"\u003cnumber\u003e"}