Skip to main content
POST
Create a new lead

Authorizations

x-api-key
string
header
required

API key from Settings > API Keys or POST /v1/api-keys. Format f9_live_<32 hex chars> (live) or f9_test_<32 hex chars> (sandbox — no real sends, ever). Legacy wcrm_live_ / wcrm_test_ keys still authenticate but are no longer issued. Shown once at creation; only a hash is stored.

Headers

Idempotency-Key
string

Opaque client-generated key that makes a retried POST safe. Resending the same key with the SAME body replays the original response (marked with Idempotent-Replay: true) instead of creating a second record. Resending it with a DIFFERENT body is rejected with 422. Keys are scoped to your company and to the endpoint, and expire after 24 hours.

Required string length: 8 - 255
Pattern: ^[A-Za-z0-9_.:@+\-]+$

Body

application/json
first_name
string
required
Required string length: 1 - 100
last_name
string
email
string<email>

At least one of email or mobile is required.

mobile
string

At least one of email or mobile is required.

inquiry_details
string
Maximum string length: 5000
notes
string
Maximum string length: 5000
source
string

Lead source name (resolved against company's configured sources).

priority
integer
default:3
Required range: 1 <= x <= 4
origin
string
assigned_to_email
string<email>

Email of the user to assign. Must be an active user in the company.

lead_status
string

Lead status name (resolved against company's configured statuses).

custom_fields
object
tags
string[]
metadata
object

Response

Lead created

success
enum<boolean>
Available options:
true
data
object
meta
object