oauth

Get information about the current access token

Changed on

Returns the attributes of the bearer token used to make the request.

get/oauth/token/info

Request

  • Base URL: https://e621.net
  • URL: https://e621.net/oauth/token/info
  • Auth: one of:
    • none
    • HTTP basic
    • API key in query parameter login and API key in query parameter api_key

Response

The token attributes

resource_owner_idinteger required

The ID of the user who owns the token

scopestring[] required

The granted scopes

expires_ininteger nullable required

Seconds until the token expires

created_atinteger required

When the token was issued, as a Unix timestamp

Changes