Skip to main content

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
This endpoint is designed for lead generation partners, portals, and integrations that send new contacts into the AnyHouse lead inventory.

Endpoint

POST
Example request:

Authentication

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:
  • email
  • phone
If both are missing, the request will fail validation.

Request Body


Field Description


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