Authorization

This document contains details for the /api/login authorization endpoint, including the request format, response example, and status codes.

Method

Method
POST

URL

/api/login

content-type

application/json

Body

{“login”:”email”,”password”:”password”}

circle-info

Authorization token should return in response (expires in 12 hours).

Response example (JSON)

{"token":"b16b61fc-4706-4c90-a57d-fe0cd0dcd2f0"}

Response status codes

Code
Description

200

Success

201

Created

401

Not authorized

403

Forbidden

404

Not found