Authentication (Allauth Headless)
Refresh the access token
Used to retrieve a new access token. Depending on settings.HEADLESS_JWT_ROTATE_REFRESH_TOKEN, a new refresh token is returned as well.
post/api/v2/allauth/app/v1/tokens/refresh
Request
- The document declares no server URL.
- Auth: none declared
Request body
Example request
{
"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.QV30"
}Response
A new access token (and optionally new refresh token).
Example response
{
"data": {
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdW",
"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.QV30"
}
}Changes
No recorded changes to this operation across all 50 revisions of this API.