Verifying a Token

Calling the /token/verification endpoint allows you to verify if a token is valid. In the request body, pass the token value—a 44-character long hexadecimal string with an rna_ prefix—that was generated when calling /token.

Item

Description

URI

/uar/v1/token/verification 

Method

POST 

Query parameters

N/A

Request body

{

    "accessToken": "string"

}

Response codes

200: Success

Sample Request

{

"accessToken": "rna_5dcd6233abs227140394653da3a328ad5556b058d87"

}

Sample Response

The following shows a sample response with details of the token (response code 200, Success):

{

"statusMessage": "Successful",

"responseObject": {

"expiryStr": "10m",

"tokenExpiryMillis": 1716900570355,

"tokenIssueMillis": 1716899970355,

"tokenName": "demo",

"tokenCreator": "systemadmin@mycompany.com",

"tokenType": "IMPERSONATED",

"username": "fnouser@mycompany.com"

},

}