Skip to content
Status

Token introspection endpoint

POSThttps://merchant.shuttleglobal.com/introspect

POST
/introspect

Authenticate your client in one of two ways:

  1. In the request body, with the client_id and client_secret parameters, or
  2. With HTTP Basic authentication, using your client_id as the username and your client_secret as the password

Use one method per request, not both. If you put client_id or client_secret in the body, put both there.

Provides information about a token’s current state and metadata. Used by resource servers to validate tokens and get additional information.

Note: This endpoint requires client authentication to prevent token scanning attacks.

object
token
required
string

The string value of the token to introspect

token_type_hint
string · enum

Optional hint about the type of token being introspected

Allowed values: access_token refresh_token
client_id
string

Your client ID. Required unless you send it with HTTP Basic authentication.

client_secret
string

Your client secret. Required unless you send it with HTTP Basic authentication.

Token introspection response

Media typeapplication/json
object
active
required
boolean

Indicates if the token is currently active

application
string

Application the token was issued for

Pattern /^app_\d+_\d+$/
exp
integer

Timestamp when the token will expire

iat
integer

Timestamp when the token was issued

username
string

Client identifier the token is connected to, representing the instance

Pattern /^cl_\d+$/

Invalid request

Invalid client credentials

Was this page helpful?