Access tokens

Get one of your tokens

get/access-tokens/{id}

Request

  • Base URL
    https://gorest.co.in/public/v3
  • URL
    https://gorest.co.in/public/v3/access-tokens/{id}
  • Auth
    HTTP bearer

Headers

If-None-Matchstring

An ETag from an earlier answer; an unchanged item answers 304 with no body.

Response

The token, without its value.

created_atstring date-time required
expires_atstring date-time nullable required

When the token stops working; null for an older token with no end.

idstring uuid required
is_primaryboolean required

The account's first token; it cannot be revoked.

labelstring required
last4string required

The last 4 characters of the value.

made_bystring uuid nullable required

The token that made this one here; revoking that token revokes this one too. null for a token made on the site.

rate_limitinteger required

Calls a minute.

scopesScope[] required

Example response

{
  "label": "My app"
}

Changes

No recorded changes to this operation across all 1 revision of this API.