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/"ef9c6e5d5f880bcbf4ac53fe1935342d" cache-control: max-age=0, private, must-revalidate x-request-id: 8005c107-f405-4005-8917-6b86cea4856e x-runtime: 0.005753 content-length: 139
201 Created
{
"jwt": "eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjo5LCJleHAiOjE3ODYzNjAyOTl9.Y8sprS2Ss5iA_s3_opSA3xm17yIIJcknD1PqlqSMZFI"
}