HTTP Response Codes

The Sailthru API will return the following HTTP Response codes.

If the response is anything other than a 200 OK, an error message and Sailthru error codes will also be returned.

  • 200 OK: Success!
  • 400 Bad Request: The request cannot be fulfilled due to bad syntax or an invalid parameter.
  • 401 Unauthorized: Invalid authentication credentials. For example, a request to Sailthru API with an invalid API Key
  • 403 Forbidden: Valid request but it has been rejected by the server. For example: a request to cancel a send that was already sent; a request to delete a blast that has started sending; etc.
  • 404 Not Found: Resource was not found. For example: request to get a blast that doesn’t exist
  • 405 Method Not Found: A request was made of a resource using a request method not supported by that resource.
  • 409 Method Not Found: The web server notes that the request submitted by the client can not be completed because it conflicts with an established ruleset.
  • 429 Too Many Requests: You have exceeded the limit of requests per minute for the given type (GET or POST) and endpoint. For limit details, see the Rate Limiting section on the API Technical Details page.
  • 500 Internal Server Error: Something is broken on the Sailthru side. This shouldn’t happen normally.