application/json
content type and follow typical HTTP response status codes for success and failure.
Note: Request URLs must be lowercase as URLs are case-sensitive.
message
parameter indicating the cause. Your language’s http library should be configured to provide message bodies for non-2xx requests so that you can read the message field from the body.
Status Code | Reason |
---|---|
400 | Bad Request — Invalid request format |
401 | Unauthorized — Invalid API Key |
403 | Forbidden — You do not have access to the requested resource |
404 | Not Found |
500 | Internal Server Error — We had a problem with our server |