Returns a new `access_token` and `refresh_token` pair

POST /auth/refresh-token

Please note that the refresh_token is also rotated. See /auth/login endpoint for more information on `refresh_token

Headers

  • Specify effective organization_id for Admin and Group Organization Admins. This is a global header for all endpoints only taken into consideration when it makes sense (it won't be used in Auth, for example)

Responses

POST /auth/refresh-token
curl \
 -X POST https://api-dev.gatego.io:443/auth/refresh-token \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "access_token": "string",
  "jwt_token": "string",
  "refresh_token": "string"
}