Skip to main content

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

    x-access-token stringrequired

    Send expired jwt access token with refresh token inside.

    nonce stringrequired

    The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.

    x-lang string

    Possible values: [pt-BR, en-US]

    Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.

    x-product-uuid string

    The product ID is a UUID (v4) used to identify the Z.ro product configuration.

    x-product-target-user-uuid string

    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

User authenticated successfully.

Schema
    access_token stringrequired

    JWT access token. Token used to access all protected endpoints.

Loading...