This endpoint allows the client to retrieve access token information.

Header

NameDescriptionData TypeRequiredDefault Value
AuthorizationSpace Access TokenStringYes

URL Parameters

NameDescriptionData TypeRequiredDefault Value
tokentypeToken TypeStringYes
tokenTokenStringYes

Body Parameters

NameDescriptionData TypeRequiredDefault Value

Authentication

SpaceAccessTokenAuthorizer

Example Request

URL

For Production: GET https://spacesapis.avayacloud.com/api/apps/tokeninfo/{tokentype}/{token}
For Staging: GET https://loganstagingapis.esna.com/api/apps/tokeninfo/{tokentype}/{token}

Headers

Authorization: "sat 94c8aa2452bccd82ee129b46f7c4be79"

Body

{}

Example Response

{
    "authorizer": {
        "type": "user",
        "_id": "5d76587125ebb83d3c790832",
        "display": "tester tester"
    },
    "app": {
        "_id": "5d765s712febb83dec7908a2",
        "displayname": DISPLAYNAME,
        "aType": ATYPE,
        "picture_url": PICTURE_URL,
        "scope": SCOPE,
        "appId": APPID,
        "appType": APPTYPE,
        "role": ROLE,
        "targetId": TARGETID,
        "targetType": TARGETTYPE,
        "expiry": EXPIRY
    }
}