v2
latestOpenAPI 3.1.02026-08-01244220427.0 KBGift Card Customers
Validatecustomersession
Validate Customer Session
Check if a customer session token is still valid and return the customer identity. Used by the ambassador to verify customer authentication on protected routes.
Request Body:
- sessionToken: The session token to validate
Returns:
- valid: Whether the session is valid
- customer: Customer identity if session is valid
Status Codes:
- 200: Session validation result returned
post/v2/giftcards/customers/session
Headers
X-Eposn-Customer-Tokenstring nullable
Request body
Response
Successful Response
Example response
{
"identity": {
"id": "5eb7cf5a86d9755df3a6c593"
}
}