Overview
The Leads API allows partners to send inventory leads into the AnyHouse platform. These leads represent potential buyers or renters that can later be offered to brokers through the AnyHouse ecosystem. When using this endpoint:- The lead is created with
source = bought - The lead is not attached to a listing
- The lead is not attached to a broker or agency
- Customer data is stored separately from the lead
Endpoint
POSTAuthentication
You can authenticate using either of the following methods.Bearer Token
Use the standard Authorization header.
X-Api-Key
Use your partner API key.
Option 1 — Bearer Token
Option 2 — Partner API Key
Required Fields
At least one of the following fields must be present:emailphone
Request Body
Field Description
| Field | Type | Description |
|---|---|---|
| name | string | Contact name |
| string | Email address (required if phone is not provided) | |
| phone | string | Phone number (required if email is not provided) |
| notes | string | Optional notes about the contact |
| lead_type | string | "hot" or "cold" lead classification |
| previous_conversation | array | Optional conversation history such as email threads |
Example Success Response
Validation Errors
If neither email nor phone is provided:When to Use This Endpoint
Use this endpoint when:- You are sending lead inventory into AnyHouse
- The lead is not tied to a specific listing
- You want to attach contact data and conversation context
- Leads will later be distributed to brokers inside the platform