cURL
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" }
Verify an access token and check if it’s still valid. Useful for debugging token issues.
Your API key for authentication. Use sandbox-with-json-responses as Sandbox key.
sandbox-with-json-responses
Token verification result
Whether the token is valid
true
Masked API key (only shown if valid)
"abc1****ef23"
Error message (only shown if invalid)
"Token has expired"
Was this page helpful?