Create a lead from an external system

The single entry point for website forms, landing pages, Zapier and any other system
that produces enquiries. The lead is de-duplicated against the workspace's contacts
by phone and email, routed by the workspace's assignment rules, and starts its SLA
clock — exactly as a portal lead does.

The API key must carry the leads.create scope.

Send external_id whenever the sending system has its own id: it is what makes a
retry safe. When a lead with that id already exists the original is returned with
duplicate: true and status 200.

property_reference (or listing_reference) and project_reference are matched
against the workspace's own listings and projects. When one matches, the lead is
linked to it and a requirement is written from it — property type, bedrooms, a
budget band around the asking price, community — so the agent opens a brief rather
than an empty form.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Every field is optional, but a lead with neither a phone number nor an email address
cannot be de-duplicated or contacted, so send at least one.

string
length ≤ 120

The sending system's own id. Makes a retry safe.

string
length ≤ 60

Where it came from, e.g. website, zapier, api.

string
length ≤ 60

Which form on the site — secondary, commercial, general. Routing rules can
match on it.

string
length ≤ 40
string
length ≤ 120
string
length ≤ 180

The full name. Use this or first_name/last_name.

string
length ≤ 80
string
length ≤ 80
string
string
length ≤ 40

Send it in international form (+971501234567) whenever you have it. A number
without a country code is read as local only when it is shaped like one — nine
digits, or ten with a trunk zero — so an international number pasted without its
+ is not turned into a UAE number.

string
length ≤ 8000
string
length ≤ 80

The listing reference the enquiry is about. Matched against the workspace's listings.

string
length ≤ 80

Accepted as an alias of property_reference.

string
length ≤ 80

The off-plan project the enquiry is about, by name or reference.

string
enum

Which book the lead belongs in. Leave it out for a project enquiry — the CRM
decides once the project has been matched.

Allowed:
string
enum
Defaults to buy
Allowed:
number
≥ 0
number
≥ 0
integer
0 to 20
string
enum
Defaults to en
Allowed:
tags
array of strings
length ≤ 20

Matched by routing rules exactly as a tag added by hand is.

tags
utm
object

Campaign attribution: source, medium, campaign, term, content.

date-time

When the enquiry was made, if that is not now.

raw
object

The original payload, kept on the lead for reference.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json