Refresh Access Token
POST/auth/refresh-token
Refresh the user's access token by providing the old access token in the request header. A new access token will be generated upon successful authentication.
Request
Header Parameters
Send expired jwt access token with refresh token inside.
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR
, en-US
]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
The product ID is a UUID (v4) used to identify the Z.ro product configuration.
The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.
Responses
- 200
- 400
- 401
User authenticated successfully.
- application/json
- Schema
- Example (from schema)
Schema
JWT access token. Token used to access all protected endpoints.
{
"access_token": "string"
}
If any required params are missing or has invalid format or type.
User authentication failed.