Portfolio Connect

Verify Access Token

Changed on

Verify an access token and check if it's still valid. Useful for debugging token issues.

post/v1/token/verify

Request

  • Base URL
    https://api.casparser.in
  • Auth
    API key in header x-api-key

Response

Token verification result

validboolean

Whether the token is valid

masked_api_keystring

Masked API key (only shown if valid)

errorstring

Error message (only shown if invalid)

Example response

{
  "valid": true,
  "masked_api_key": "abc1****ef23",
  "error": "Token has expired"
}

Changes