Auth

Refresh a token for an entity

Change entity using the same refresh method with an additional parameter for the entity. The entities available to a user are listed in the response of Get the authenticated user.

The response includes a new access token that should be used when accessing the new entity. A token is also issued for an entity where the profile of the user is still pending, but every other request with it answers 403 until that profile is active.

get/v1/refresh/{entity}

Request

  • Base URL: https://api.getaccept.com
  • URL: https://api.getaccept.com/v1/refresh/{entity}
  • Auth: HTTP bearer

Path parameters

entitystring required

Id of the entity the new token is issued for.

Response

The request succeeded.

access_tokenstring required

Access token to send as an Authorization Bearer header on every request.

expires_innumber required

Seconds until the access token expires.

Changes

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