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.eyJzdWIiOjExLCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzEwMjU0MjAwfQ.E_G1mNHbYB0WVDj8c3LZxfzBEoJmK89E3Z_17y8jLlE; path=/; expires=Tue, 12 Mar 2024 14:36:40 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-Download-Options: noopen
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.eyJzdWIiOjExLCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzEwMjU0NzQwfQ.9NPqoqFCtblUrBPZQufzVPjRNy1XsHM5i0mDMh7Ylbk; path=/; expires=Tue, 12 Mar 2024 14:45:40 GMT; HttpOnly; SameSite=Lax
X-Request-Id: 05b55ff9-ad42-4677-9772-8eddef254d4b
X-Runtime: 0.004549
Content-Length: 19

Status

200 OK

Body

{
  "allow-rec": false
}