postIntrospect an OAuth 2.0 token

Determines the state and validity of an OAuth 2.0 token

curl --request POST \
  --url https://api.test.neobits.no/core/oauth2/introspect \
  --header 'Authorization: Basic REPLACE_BASIC_AUTH' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data token=string

Request

Headers

  • Authorization•string

    Basic authentication, base64 encoded username:password.

Response

Headers

  • Content-Type•string

    The content type of the response.

Body

  • active•boolean

    Whether the client is active

  • scope•string

    Scopes associated with the client

  • sub•string

    Subject of the token

  • exp•integer

    Timestamp when the token expires

  • account_id•string<uuid>

    Account ID associated with the client