Response Code

In case of errors, they may contain an Message field with a description of the error. The HTTP status code will also indicate the type of error.

HTTP Response CodeError Description
200Successful request
201Successful creation of a resource
400Sending invalid JSON
401Using an invalid OAuth token
403Using an OAuth token without sufficient permissions
404Calling an endpoint which does not exist
409Creating a resource which already exists
422Sending invalid fields
423Calling an endpoint which is not allowed
429Hitting a rate limit
500An internal server error
503External service errors (as an example, Payment Providers)