Pass received token to each request to private API as 'token' parameter or 'Authorization' header.
| Name | Description |
|---|---|
| auth[login] | Login |
| auth[password] | Password |
| auth[cookie_auth] | Cookie Auth |
Accept: application/json Content-Type: application/json Host: example.org Cookie:
POST /api/rest/customer/v1/auth
{"auth":{"login":"login","password":"password"}}
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/"79d05178c02868ac31723fcecc7adfd9" cache-control: max-age=0, private, must-revalidate x-request-id: 0ef8a8e7-5050-4824-b3d3-6808715f7e4f x-runtime: 0.005174 content-length: 139
201 Created
{
"jwt": "eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjo5LCJleHAiOjE3ODEyNzk0MDV9.RTvsL2nKqmPFUj7hDsaA0vWF8EdNvs3oBhyJyzQ1vk8"
}