Sync a new lead for indirect attribution
Report a new lead/contact from your CRM. Mailr geo-matches the address to
a campaign it mailed and records an indirect lead (source crm_sync).
Unmatched leads are discarded — they aren’t ours to track. These leads are
never delivered back out. Idempotency uses crm_record_id when supplied,
then a non-empty email or phone; distinct records with no identity fields
remain distinct. Echo mailr_lead_id when the CRM record originated from
a Mailr lead and the server suppresses it with reason: loop_guard.
Authorizations
Organization-scoped Mailr API key. Header: Authorization: Bearer ak_….
Body
Fields may also be nested under a properties object (HubSpot/Zapier mappings are tolerated).
Fallback when first/last are absent.
CRM record identity; strongest idempotency key, especially for records with no email.
Echo-loop guard. Set to the Mailr lead id when this CRM record originated from a Mailr New Lead delivery.