Authorization¶
For working with API, user should authorize on platform.
URL |
|
Метод |
POST |
URL запиту |
|
Headers |
|
Content-Type |
application/json |
REQUEST |
|
JSON Body |
{“login”:”email”,”password”:”password”} |
RESPONSE In response user got authorization token.
Response example (JSON):
{"token":"b16b61fc-4706-4c90-a57d-fe0cd0dcd2f0"}
Response status codes
Code |
Description |
200 |
Successfully updated |
201 |
Created |
401 |
Not authorized |
403 |
Forbidden |
404 |
Not Found |
Token will be expired after 12 hours.