OAuth2

Get information about an OAuth token

Get information about an OAuth token.

get/oauth2/token

Query parameters

client_idstring required
client_secretstring required
tokenstring required

Response

OK

user_idinteger
scopeobject

Key-value pairs of granted scopes

expires_ininteger

Remaining lifetime in seconds

issue_dateinteger

Changes

Changed in 3 of the 7 revisions of this API.479

    • api operation id get_oauth2_token removed and replaced with getOauth2Token

      api-operation-id-removed

    • added the new optional header request parameter XF-Api-User to all path's operations

      new-optional-request-default-parameter-to-existing-path

    • added the new optional query request parameter api_bypass_permissions to all path's operations

      new-optional-request-default-parameter-to-existing-path

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new required query request parameter client_id

      new-required-request-parameter

    • added the new required query request parameter client_secret

      new-required-request-parameter

    • added the new required query request parameter token

      new-required-request-parameter

    • api tag OAuth2 added

      api-tag-added

    • api tag oauth2 removed

      api-tag-removed

    • added the media type application/json for the response with the status 200

      response-media-type-added

  • fc0a40f3b859173See the full diff
    • removed the media type application/json for the response with the status 200

      response-media-type-removed

    • the optional response header XF-Latest-Api-Version removed for the status 200

      optional-response-header-removed

    • the optional response header XF-Request-User removed for the status 200

      optional-response-header-removed

    • the optional response header XF-Request-User-Extras removed for the status 200

      optional-response-header-removed

    • the optional response header XF-Used-Api-Version removed for the status 200

      optional-response-header-removed

    • deleted the query request parameter client_id

      request-parameter-removed

    • deleted the query request parameter client_secret

      request-parameter-removed

    • deleted the query request parameter token

      request-parameter-removed

    • api operation id getOauth2Token removed and replaced with get_oauth2_token

      api-operation-id-removed

    • api tag oauth2 added

      api-tag-added

    • api tag OAuth2 removed

      api-tag-removed

    This revision also has 18 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog