Pretty simple: all successful responses are JSON.


In trying to keep errors simple and easy to understand, most errors are handled using HTTP status codes. In the event where there is an expected error, you will get back a JSON error payload where we’ll tell you which fields you forgot to send or other details around the API request.