Skip to content
Dark mode

Validate a token

Returns the user, tenant, and client details associated with an active Call AI access token.

Prerequisites

  1. Generate an access token: An active access token to validate.
POST /authenticate

Base URL: the authentication base URL Mindtickle Support provides for issuing tokens.

Headers: Content-Type: application/json.

Parameter Type Required Description
access_token string Required The active access token to validate.
{
"access_token": "ACCESS_TOKEN"
}
Field Type Description
status number Status code in the response body. Check the HTTP status separately.
user_id string The user associated with the token.
tenant_id string The tenant associated with the token.
client_id string The client associated with the token.
{
"status": 200,
"user_id": "USER_ID",
"tenant_id": "TENANT_ID",
"client_id": "CLIENT_ID"
}
  • Behavior: Use this call to retrieve the associated user and client details for debugging.
  • Behavior: Once generated and verified, pass the token in the header of your requests to the GraphQL API.