/v1/oauth/introspect
POST {{baseUrl}}/v1/oauth/introspect
Introspect an access token to see whether it is valid and active. You can also verify some token properties, such as its claims, scopes, and validity times.
Requests to this endpoint require authentication with your client ID and client secret, using one of the following methods:
- Basic access authentication (Recommended): For basic access authentication, the
{credentials}
string must be a Base64 encoded value of{client id}:{client secret}
. - Body parameters: Provide your integration's credentials using the
client_id
andclient_secret
body parameters.
Request Body
[{"name"=>"token", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"client_id", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"client_secret", "value"=>"<string>", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"active":"\u003cboolean\u003e","scope":"\u003cstring\u003e","client":"\u003cstring\u003e","exp":"\u003clong\u003e","iat":"\u003clong\u003e","nbf":"\u003clong\u003e","jti":"\u003cstring\u003e","sub":"\u003cstring\u003e"}