Skip to content

Refreshes auth tokens given a refresh token.

POST
/api/auth/v1/refresh
curl --request POST \
--url https://example.com/api/auth/v1/refresh \
--header 'Content-Type: application/json' \
--data '{ "refresh_token": "example" }'

NOTE: This is a json-only API, since cookies will be auto-refreshed.

Media type application/json
object
refresh_token
required
string
Example generated
{
"refresh_token": "example"
}

Refreshed auth tokens.

Media type application/json
object
auth_token
required
string
csrf_token
required
string
Example generated
{
"auth_token": "example",
"csrf_token": "example"
}