Authentication API

check auth cookie

GET /api/rest/customer/v1/auth

auth cookie is valid and responds with new cookie

Request

Headers

Accept: application/json
Content-Type: application/json
Cookie: _yeti_customer_v1_session=eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjoxMSwiZXhwIjoxNzkyNjE5Mjc1fQ.UBEyicr9F15CtJUbYQKiRjKRRI2aqfT1X7mrgeX5K9I; path=/; expires=Wed, 21 Oct 2026 21:47:55 GMT; httponly; samesite=lax
Host: example.org

Route

GET /api/rest/customer/v1/auth

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept
etag: W/"da8baa7a78a121b4355b7e0d2cb53958"
cache-control: max-age=0, private, must-revalidate
set-cookie: _yeti_customer_v1_session=eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjoxMSwiZXhwIjoxNzkyNjE5ODE1fQ.Z82zqL8bmC_BJHz_ZZpbjE7G0GzkKIiKAKmGVaxplvA; path=/; expires=Wed, 21 Oct 2026 21:56:55 GMT; httponly; samesite=lax
x-request-id: 5eb8ce87-28bd-4ec2-a29d-c35a68ea4f87
x-runtime: 0.008341
content-length: 19

Status

200 OK

Body

{
  "allow-rec": false
}