Skip to main content

HTTP status codes

CodeMeaning
200Request processed. Always check the status field — a lead can be new, distributed, or rejected.
400Malformed request — missing required fields or invalid values. See the details array for field-level errors.
401API Key missing or invalid.
422Semantically invalid data — consents not accepted, product not found, etc.
500Internal server error. Contact support if this persists.
A rejected response is a valid business outcome, not an API error — the HTTP status is still 200. Always check the status field, not just the HTTP code. See Submit Lead for the full list of rejection reasons.

Error response body

{
  "error": "validation_error",
  "message": "Request body validation failed",
  "details": [
    { "field": "product_data.loan_amount", "issue": "must be between 500 and 75000" }
  ]
}
The details array is only present on 400 responses.