How to Submit Leads to an Offer
OffersWhat "Submit to an Offer" Means
Submitting a lead directly to an Offer (as opposed to a
Schedule) attaches the lead data to the Offer for
attribution purposes. A subsequent inbound call from the
same caller ID will inherit the submitted data as Call
tokens. The submission does NOT trigger outbound dialing or
any automated action.
Use this pattern when you want to enrich inbound calls with
form data captured earlier in the funnel. For example, a
user fills out a form on your landing page, then clicks the
tracking number to call; the resulting Call carries the
form fields as tokens.
Endpoint
POST /api/v1/leads/capture. Use the Offer's leads_api_key (the
Call Transfer Token) as the lead_token parameter.
Example
curl -X POST \
"https://your-domain.com/api/v1/leads/capture?lead_token=OFFER_LEADS_API_KEY&caller_id=+18004506787&email=john@example.com&interest=kittens"
JSON form works identically to the schedule case, with the
difference that the token belongs to the Offer rather than
a Schedule.
When to Submit to a Schedule Instead
If TrackDrive should start calling or texting the lead
automatically, submit to a Schedule token instead. See the
companion article "How to Submit Leads via API" under
Schedules.