API Responses
The API uses the following HTTP(S) status codes:
200 — successful request
201 — resource created
400 — invalid request
401 — missing or invalid token
403 — forbidden
404 — resource not found
500 — internal server error
On errors, the API returns a JSON object with a description.