Skip to content
CustomersCustomer

Get current customer session

Gets the signed-in customer's profile from the store session.

GET/v1/customer/sessions/current
Requires an access token.

Header Parameters

Authorization*string

OAuth 2.0 bearer token.

x-Store-Domain*string

Slug of the store or one of its configured domains, such as my-store.

Length1 <= length <= 253
X-Customer-Session?string

Customer session from POST /v1/customer/sessions. Send it instead of Authorization, never both.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://storefront.ecomiq.pe/v1/customer/sessions/current" \  -H "Authorization: Bearer <token>" \  -H "x-Store-Domain: my-store" \  -H "X-Customer-Session: <session-id>"
{  "expiresAt": "2026-09-28T15:30:00Z",  "customer": {    "id": "7204558912004326262",    "firstName": "Andrea",    "lastName": "Ramos",    "email": "andrea.ramos@example.com",    "status": "active"  }}