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.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjoxMSwiZXhwIjoxNzY3MzU4MDMzfQ.hkemLMyyNIb374H4keMu2SyUJfJPobg1xxHKL7p6Vs4; path=/; expires=Fri, 02 Jan 2026 12:47:13 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.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjoxMSwiZXhwIjoxNzY3MzU4NTczfQ.up7C2WkC5y9J_Pcf9qoBGcikL9xU76uFLwtpDWfVndI; path=/; expires=Fri, 02 Jan 2026 12:56:13 GMT; httponly; samesite=lax
x-request-id: b2b70806-93b4-43d6-9e58-af4e14c1cab8
x-runtime: 0.004755
content-length: 19

Status

200 OK

Body

{
  "allow-rec": false
}