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.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjoxMSwiZXhwIjoxNzc2MzY1MjA0fQ.MTE7dtjHUMEZuq5wRey5EoViCxG0_MjAJFyYh3dxVd4; path=/; expires=Thu, 16 Apr 2026 18:46:44 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.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjoxMSwiZXhwIjoxNzc2MzY1NzQ0fQ.7weeXSUawfX5MveoneA1qUF5xw4TA_BF9r7-BJ8Nu_0; path=/; expires=Thu, 16 Apr 2026 18:55:44 GMT; httponly; samesite=lax
x-request-id: aa7bd584-0983-4644-85e7-d2b3edf9ca6f
x-runtime: 0.004973
content-length: 19

Status

200 OK

Body

{
  "allow-rec": false
}