Authentication API

check auth cookie

GET /api/rest/customer/v1/auth

auth cookie is valid and responds with new cookie

Request

Headers

Version: HTTP/1.0
Accept: application/json
Content-Type: application/json
Cookie: _yeti_customer_v1_session=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjExLCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzQwODUyNTAzfQ.4oA83dDVA3OBJBPFg0fIWjXFo16V-QtTZXJNqL0c3pw; path=/; expires=Sat, 01 Mar 2025 18:08:23 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.eyJzdWIiOjExLCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzQwODUzMDQzfQ.0Df0tlXmA7mhyPkNPDcR9DhCV9r_YlA9B9D5U-WyrhY; path=/; expires=Sat, 01 Mar 2025 18:17:23 GMT; HttpOnly; SameSite=Lax
X-Request-Id: 4387f6ee-4420-4738-981c-1cf301633b46
X-Runtime: 0.004955
Content-Length: 19

Status

200 OK

Body

{
  "allow-rec": false
}