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.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjoxMSwiZXhwIjoxNzgxMjc4ODY1fQ.gehs3o-GV4TjgtNiA0aCHVxFmzsCNJ5caKH_2BBTgjA; path=/; expires=Fri, 12 Jun 2026 15:41:05 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.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjoxMSwiZXhwIjoxNzgxMjc5NDA1fQ.N5_SPLMpiKuRI9YsP7K8xykcr7UKQVIp8eT9UUErwHw; path=/; expires=Fri, 12 Jun 2026 15:50:05 GMT; httponly; samesite=lax
x-request-id: ce5273b1-304a-4032-becb-7dc93fe8f631
x-runtime: 0.004385
content-length: 19

Status

200 OK

Body

{
  "allow-rec": false
}