API Stability Long-Term

The validateToken() GraphQL query is used to validate a JSON web token.

For more information on access tokens of various types, see the Ingest Tokens documentation page.

Syntax

Below is the syntax for the validateToken() query field:

graphql
validateToken(
     jwtToken: string!
   ): boolean!

Below is an example of how this query field might be used:

Show:
graphql
query {
  validateToken(jwtToken: "123456")
}
Example Responses
Show:
json
{
  "data": {
    "validateToken": false
  }
}