Selz uses conventional HTTP response codes to indicate the success or failure of an API request. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted), and codes in the 5xx range indicate an error with Selz's servers.

HTTP Status code summary

Status Code Description
200 OK Everything worked as expected.
201 Created The request to POST or PUT a record was successful.
204 Deleted The request to DELETE a record was successful.
400 Bad request The request was unacceptable, often due to missing a required parameter.
401 Unauthorized No valid Access Token provided.
404 Not Found The requested resource doesn't exist.
429 Too Many Requests Too many requests hit the API too quickly.
50x Server Error Something went wrong on Selz's end.

Example of error

    "type": "invalid_request_error",
    "errors": {
        "email": ["Email field is not a valid email address."]