post
https://www.pelcro.com/api/v1/sdk/customer/refresh
Issue a fresh authentication token to extend the customer’s session.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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 tokenSend the current token as
Authorization: Bearer <token>. The response contains a new token — replace the stored one with it. A missing or invalid token returns401. See Authentication.

