Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Refresh token

Get new access token using refresh token

POST/api/v1/{app_id}/auth/refresh
Path parameters
app_idstringrequired

UUID of the app

Request body
requiredapplication/json

Refresh token

refresh_tokenstringrequired
Responses
200

OK

access_tokenstring
expires_ininteger
refresh_tokenstring
token_typestring
400

Invalid request

detailsstring[] | null
messagestring
successboolean
401

Invalid refresh token

detailsstring[] | null
messagestring
successboolean
404

App not found

detailsstring[] | null
messagestring
successboolean
500

Internal server error

detailsstring[] | null
messagestring
successboolean
Try it
Server
Parameters
Bodyapplication/json
Request
curl -X POST '//customers.enad.io/api/v1/string/auth/refresh' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "refresh_token": "string"
}'
Response
{
  "access_token": "string",
  "expires_in": 0,
  "refresh_token": "string",
  "token_type": "string"
}