Skip to main content

Requirements

As an API transport stands for HTTP protocol, requests are sent using the POST method.

The request parameters are passed in JSON in the request body.

Encodingutf-8.

Authentication — bearer the token returned in response to a previous successful request. To get the first token, you must log in with the /login_api function.

Security — a request for obtaining codes is signed with the private key of the printing house and verified using its public key uploaded to the system.

Additional restrictions — the minimum interval between two high-load requests should not exceed 10 seconds.

Encryption

The signature algorithm is SHA 256 with RSA.

Required headers

Content-Type = application/json; charset=utf-8
X-Requested-With = XMLHttpRequest
Authorization = Bearer token