Skip to main content
POST
/
v1
/
token
/
verify
Verify Access Token
curl --request POST \
  --url https://api.casparser.in/v1/token/verify \
  --header 'x-api-key: <api-key>'
{
  "valid": true,
  "masked_api_key": "abc1****ef23",
  "error": "Token has expired"
}

Authorizations

x-api-key
string
header
required

Your API key for authentication. Use sandbox-with-json-responses as Sandbox key.

Response

Token verification result

valid
boolean

Whether the token is valid

Example:

true

masked_api_key
string

Masked API key (only shown if valid)

Example:

"abc1****ef23"

error
string

Error message (only shown if invalid)

Example:

"Token has expired"