> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.houseofapps.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.houseofapps.ai/_mcp/server.

# HTTP Response Codes

> HTTP status codes returned by the House of Apps API and what they mean

The following HTTP codes are used in the responses:

- `200` when the request was successful.
- `201` when a record was created.
- `400` when there was an issue with the request.
- `401` when the request needs to be authenticated.
- `402` when the request could not be completed because of your organization's billing status.
- `403` when an operation was not allowed.
- `404` when the URL or record was not found.
- `409` when the request conflicts with an existing record (for example, a duplicate contact email).
- `422` when a field failed validation.
- `429` when the rate limit was exceeded. See [Rate Limits](/api-reference/rate-limits).
- `500` when an unexpected error occurred on our side.

Error responses include a `message`, a `messageKey`, and, for validation errors, an `errors` list describing each invalid field:

```json
{
  "status": "error",
  "message": "Missing required parameter: name",
  "messageKey": "errors.missing_required_param",
  "statusCode": 422,
  "code": "4004",
  "errors": [
    { "field": "body.lead.name", "type": "missing", "msg": "Field required" }
  ]
}
```