---
title: "Validatecustomersession"
method: POST
path: "/v2/giftcards/customers/session"
tags: ["Gift Card Customers"]
---

# Validatecustomersession

`POST /v2/giftcards/customers/session`

### 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

## Headers

- `X-Eposn-Customer-Token` string, nullable

## Request body

- ValidateSessionRequest — Request to validate a session token.
  - `sessionToken` string, required — Session token to validate

## Response `200`

Successful Response

- ValidateSessionResponse
  - `valid` boolean, required
  - `identity` CustomerIdentityResponse — Customer identity information returned after successful verification.
    - `id` string, required
    - `email` string, nullable, required
    - `phone` string, nullable, required
    - `name` string, nullable, required
    - `verified` boolean, required
    - `verifiedAt` string, nullable, required
    - `trustLevel` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/loyalty/apis/loyaltydog.md) · [All operations](https://skmtc.net/loyalty/apis/loyaltydog/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loyalty/loyaltydog/versions/42b7b22af2b6/schema)
