Skip to main content
POST
/
accounts
/
refresh-token
Refresh authentication token
curl --request POST \
  --url https://api.quiva.ai/accounts/refresh-token \
  --header 'Content-Type: application/json' \
  --data '
{
  "auth_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
'
{
  "data": {
    "refresh_token": "<string>",
    "auth_token": "<string>",
    "passkey_enabled": true,
    "totp_enabled": true
  }
}

Body

application/json
auth_token
string
required

Current authentication token

refresh_token
string
required

Refresh token to use for generating a new authentication token

Response

New authentication token issued

data
object
required