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.eyJzdWIiOjExLCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzMxNTc4MjI1fQ.wTBCDViFTfxc4gQyDeYtM6n8JLIyIdfTq6aOM55H5gs; path=/; expires=Thu, 14 Nov 2024 09:57: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-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.eyJzdWIiOjExLCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzMxNTc4NzY1fQ.PY8OWXocz_vBpdwVO9_QxbiRCoTd8-t0gqaxOu9DsGo; path=/; expires=Thu, 14 Nov 2024 10:06:05 GMT; HttpOnly; SameSite=Lax
X-Request-Id: bc871301-5410-4de8-8a02-8401d3c5a601
X-Runtime: 0.005426
Content-Length: 19

Status

200 OK

Body

{
  "allow-rec": false
}