Communication interface
The communication interface is based on a REST API.
-
HTTP calls (
POST,GET,DELETE…) to a specific method (endpoint). -
Depending on the method used, data may be sent through a query string that is part of the URL, or through a request body in JSON format.
-
The following HTTP headers must be added to all requests:
Header name Header value Acceptapplication/jsonContent-Typeapplication/jsonAuthorizationApiKey YOUR_API_KEY
Reading the response
Section titled “Reading the response”Every endpoint answers with HTTP 200, including when the operation fails: business errors
travel in the body, never in the status code. So the first thing to read is always the Success
field.
There are two response shapes, depending on the endpoint family — read endpoints report a single
global error, transactional endpoints report one error per line. Both always carry Success.
See response envelopes for both formats, why they differ, and the
three endpoints that do not follow the obvious rule.