Imprint uses standard HTTP codes to indicate the success or failure of a request. In general, codes in the 2xx range indicate success, and codes in the 4xx range indicate an error. When an API call fails, Imprint will also provide an error object in the response body, which includes an error code (type), the human-readable error description (message), and (if applicable) the parameter related to the error (param).

400
{
  "error": {
    "type": "INVALID_REQUEST_ERROR",
    "message": "Invalid email format",
    "param": "email"
  }
}