Refresh customer

Issue a fresh authentication token to extend the customer’s session.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Overview

Issue a fresh authentication token for the authenticated customer, extending their session. The response returns the customer and a new JWT as data.auth_token / data.token.

Example: Before a token nears expiry, call refresh with the current token to obtain a new one and keep the customer signed in without asking them to log in again.

📘

Replace the stored token

Send the current token as Authorization: Bearer <token>. The response contains a new token — replace the stored one with it. A missing or invalid token returns 401. See Authentication.

Query Params
int32
required

The unique identifier of the site associated with your account.

Headers
string
required
Defaults to Bearer <token>

Required. Bearer authentication with the customer's JWT — Authorization: Bearer <token>. Obtained from the register, login, or passwordless-login response and renewed via the refresh endpoint.

Responses

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json