Operation
Refresh a customer token
POST
/sales/customer-tokens/refreshRe-signs a still-valid customer token (presented via X-Customer-Token) for a fresh 30 minutes, carrying the original 24-hour absolute ceiling forward. Once the ceiling passes the customer must re-authenticate.
Returns
Customer token refreshed successfully
Errors
- 400
- Bad Request - Invalid input
- 401
- Unauthorized - Authentication required
- 403
- Forbidden - Insufficient permissions
- 404
- Not Found - Resource not found
- 500
- Internal Server Error
Every error names its code and links to it. All error codes
curl -X POST "https://live.ticketlayer.com/sales/customer-tokens/refresh" \ -H "Authorization: Bearer tlpk_..."Response 200
{
"customerToken": "eyJhbGciOiJIUzI1NiIs...",
"expiresIn": 1800,
"customer": {
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string"
}
}