Skip to main content
POST
Report a won deal for revenue 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
deal_id
string | null
deal_amount

Deal value. Accepts a number or a numeric string.

deal_stage
string | null
deal_name
string | null
campaign_id
string | null

Optional Mailr campaign id for exact, address-independent attribution.

contact_first_name
string | null
contact_last_name
string | null
contact_name
string | null
contact_email
string | null
deal_date
string | null

Close date (ISO-8601). Drives last-touch attribution.

Response

Match result. Unmatched is { "matched": false }. A match returns the attributed campaign, method and confidence.

matched
boolean
required