Skip to main content
POST
Sync a new lead for indirect attribution

Authorizations

Authorization
string
header
required

Organization-scoped Mailr API key. Header: Authorization: Bearer ak_….

Body

application/json

Fields may also be nested under a properties object (HubSpot/Zapier mappings are tolerated).

address
string
required
first_name
string | null
last_name
string | null
name
string | null

Fallback when first/last are absent.

email
string | null
phone
string | null
crm_record_id
string | null

CRM record identity; strongest idempotency key, especially for records with no email.

mailr_lead_id
string | null

Echo-loop guard. Set to the Mailr lead id when this CRM record originated from a Mailr New Lead delivery.

created_at
string<date-time> | null

Response

Match result. Unmatched is { "matched": false }. A match returns the attributed campaign and lead id.

matched
boolean
required
reason
enum<string>

Present when a Mailr-originated lead echo was suppressed.

Available options:
loop_guard