Error handling

The API uses HTTP response codes for requests: 2xx codes for success, 4xx codes for standard HTTP errors and custom error codes for endpoint specific errors concerning e.g. permissions, missing parameters or other failure(s), data errors and 5xx codes for internal server errors.