#Introduction to the API
The REST API lets you interact directly with Clinia from anything that can send an HTTP request. All API accesses must use HTTPS. The primary host is
The entire API uses JSON encoded as UTF-8.
The body of POST, PATCH and PUT requests must be a JSON object and their
Content-Type header should be set to
The body of responses is always a JSON object, and their content type is always
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
All endpoints can return errors. Some error responses will come with a response body with more detail on the error.
|The request was malformed or not contained unexpected content.|
|Resource not found.|
|Request was understood by the server but could not be processed, probably due to validation errors or invalid values.|
|Symbol||Generic error message.|
|Array<ErrorMessage>||List of errors.|
|Integer||Specific error code.|
|Symbol||Type of error.|
|Symbol||Field that caused the error in the incoming request body.|