Responses
In this section we talk about every possible response code that you might get from the api and what you should do when it occurs.
Remember that in most cases, errors are a you problem, not a me problem
Status codes
Here is a list of the different categories of status codes returned by API. Use these to understand if a request was successful.
-
- Name
2xx
- Type
- success
- Description
-
A 2xx status code indicates a successful response.
-
- Name
4xx
- Type
- server error
- Description
-
A 4xx status code indicates a client error — this means it's a you problem
-
- Name
5xx
- Type
- validation error
- Description
-
A 5xx status code indicates a server error — this means it's a me problem, contact us.