Call tracking
Pay per call: tracked calls (where each went, conversions, revenue, returns), targets and their caps, buyers, tracking numbers and the caller block list. Webhook events tracking.call_completed, tracking.call_converted and tracking.call_returned fire when a tracked call ends, converts or is returned. Publishers’ payouts are reported to Affiliatetrackingo (POST /track/call there). Below the API-key endpoints: the bid endpoint other networks call, the website number-swap script, and buyers’ report links.
Tracking campaigns
/v1/tracking/campaignstracking:readNeeds Call tracking in your plan.
Permission: tracking:read
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/tracking/campaigns \
-H "Authorization: Bearer $DIALERDAY_API_KEY"{
"data": [
{
"id": 2,
"name": "Auto insurance",
"status": "active",
"convert_seconds": 90,
"revenue_cents": 4500,
"payout_cents": 2000,
"numbers": 6,
"routes": 3
}
]
}Tracked calls
/v1/tracking/callstracking:readNewest first; page with before (the last call_id you got). Days are in the company’s time zone.
Needs Call tracking in your plan.
Permission: tracking:read
Query parameters
fromrequiredstring | |
torequiredstring | |
campaign_idinteger | |
buyer_idinteger | |
publisherstring | An Affiliatetrackingo referral codemax 40 chars |
status"routing" | "ivr" | "ringing" | "connected" | "completed" | "no_answer" | "no_target" | "blocked" | "closed" | |
converted"true" | "false" | |
limitinteger | 1–500 · default 100 |
beforeinteger |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/tracking/calls \
-H "Authorization: Bearer $DIALERDAY_API_KEY"{
"data": [
{
"call_id": 1251,
"campaign_id": 2,
"campaign_name": "Auto insurance",
"number": "+15125550100",
"source": "Google Ads",
"caller": "+15551234567",
"caller_state": "TX",
"caller_zip": "78701",
"status": "completed",
"target_name": "Acme Insurance – main line",
"buyer_name": "Acme Insurance",
"bidder_name": null,
"winning_bid_cents": null,
"aff_ref_code": "jane",
"utm_source": "google",
"click_id_type": "gclid",
"duplicate": false,
"blocked_reason": null,
"connected_seconds": 312,
"converted": true,
"revenue_cents": 4500,
"payout_cents": 2000,
"returned_at": null,
"started_at": "2026-10-16T15:30:00Z",
"ended_at": "2026-10-16T15:35:30Z"
}
]
}One tracked call
/v1/tracking/calls/{id}tracking:readWith its routing trace, gathered tags, attribution (UTM, click ids), bids and postbacks.
Needs Call tracking in your plan.
Permission: tracking:read
Path parameters
idrequiredinteger | ≥ 1 |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/tracking/calls/42 \
-H "Authorization: Bearer $DIALERDAY_API_KEY"Mark a tracked call converted
/v1/tracking/calls/{id}/converttracking:writeFor conversions you learn about later (a sale the buyer confirmed). Postbacks for “converted” are sent.
Needs Call tracking in your plan.
Permission: tracking:write
Path parameters
idrequiredinteger | ≥ 1 |
Headers
Idempotency-Keystring | Retry safely: the first response is replayed for 24 hoursmax 200 chars |
Request body
revenue_centsinteger | null | Leave out for the target's price |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)429Rate limited: see the Retry-After header
curl -X POST https://api.dialerday.com/v1/tracking/calls/42/convert \
-H "Authorization: Bearer $DIALERDAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"revenue_cents": 0
}'Return a converted call
/v1/tracking/calls/{id}/returntracking:writeNo revenue for it, and the publisher’s commission in Affiliatetrackingo is clawed back.
Needs Call tracking in your plan.
Permission: tracking:write
Path parameters
idrequiredinteger | ≥ 1 |
Headers
Idempotency-Keystring | Retry safely: the first response is replayed for 24 hoursmax 200 chars |
Request body
reasonrequiredstring | 1–500 chars |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)429Rate limited: see the Retry-After header
curl -X POST https://api.dialerday.com/v1/tracking/calls/42/return \
-H "Authorization: Bearer $DIALERDAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "string"
}'Tracking report
/v1/tracking/reportstracking:readCalls, conversions, revenue, payout, costs and profit grouped by one dimension, with totals.
Needs Call tracking in your plan.
Permission: tracking:read
Query parameters
fromrequiredstring | |
torequiredstring | |
campaign_idinteger | |
buyer_idinteger | |
publisherstring | An Affiliatetrackingo referral codemax 40 chars |
group"campaign" | "buyer" | "target" | "number" | "source" | "publisher" | "state" | "day" | "hour" | "bidder" | default "campaign" |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/tracking/reports \
-H "Authorization: Bearer $DIALERDAY_API_KEY"Targets
/v1/tracking/targetstracking:readWhere calls can go (a buyer’s number or SIP address, or your own ring group, IVR flow or team), with caps, filters, hours and price.
Needs Call tracking in your plan.
Permission: tracking:read
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/tracking/targets \
-H "Authorization: Bearer $DIALERDAY_API_KEY"{
"data": [
{
"id": 4,
"buyer_id": 1,
"buyer_name": "Acme Insurance",
"name": "Acme – main line",
"kind": "phone",
"destination": "+15125550111",
"timeout_seconds": 30,
"cap_on": "conversion",
"concurrency_cap": 5,
"hourly_cap": null,
"daily_cap": 40,
"monthly_cap": null,
"total_cap": null,
"states": [
"TX",
"FL"
],
"area_codes": [],
"zip_prefixes": [],
"require_tags": [],
"exclude_tags": [],
"revenue_cents": 4500,
"revenue_mode": "flat",
"convert_seconds": 90,
"active": true
}
]
}Change a target
/v1/tracking/targets/{id}tracking:writePause or resume a buyer’s target, change its caps or price. Fields left out keep their value; null removes a cap.
Needs Call tracking in your plan.
Permission: tracking:write
Path parameters
idrequiredinteger | ≥ 1 |
Request body
activeboolean | |
revenue_centsinteger | null | Price per conversion; null: the campaign's |
revenue_mode"flat" | "per_minute" | |
convert_secondsinteger | null | |
concurrency_capinteger | null | |
hourly_capinteger | null | |
daily_capinteger | null | |
monthly_capinteger | null | |
total_capinteger | null | |
timeout_secondsinteger | 5–120 |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)429Rate limited: see the Retry-After header
curl -X PATCH https://api.dialerday.com/v1/tracking/targets/42 \
-H "Authorization: Bearer $DIALERDAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"active": true,
"daily_cap": 60
}'Buyers
/v1/tracking/buyerstracking:readWith their last 30 days of calls and revenue, and their read-only report link.
Needs Call tracking in your plan.
Permission: tracking:read
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/tracking/buyers \
-H "Authorization: Bearer $DIALERDAY_API_KEY"Tracking numbers
/v1/tracking/numberstracking:readNumbers in a tracking campaign, with their source, publisher referral code and pool.
Needs Call tracking in your plan.
Permission: tracking:read
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/tracking/numbers \
-H "Authorization: Bearer $DIALERDAY_API_KEY"{
"data": [
{
"number_id": 12,
"phone": "+15125550100",
"campaign_id": 2,
"campaign_name": "Auto insurance",
"source": "Google Ads",
"aff_ref_code": "jane",
"pool_id": null,
"calls_30d": 84
}
]
}Put a number in a tracking campaign
/v1/tracking/numbers/{id}tracking:writeThe id is one of your phone numbers (GET /v1/numbers). Its calls then route through the campaign instead of the number’s own settings, and it is no longer used as outbound caller ID. aff_ref_code is the publisher’s Affiliatetrackingo referral code.
Needs Call tracking in your plan.
Permission: tracking:write
Path parameters
idrequiredinteger | ≥ 1 |
Request body
campaign_idrequiredinteger | |
sourcestring | null | |
aff_ref_codestring | null | |
pool_idinteger | null |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)429Rate limited: see the Retry-After header
curl -X PUT https://api.dialerday.com/v1/tracking/numbers/42 \
-H "Authorization: Bearer $DIALERDAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"campaign_id": 2,
"source": "Radio spot",
"aff_ref_code": "jane"
}'Take a number out of call tracking
/v1/tracking/numbers/{id}tracking:writeIts calls go back to the number’s own inbound settings.
Needs Call tracking in your plan.
Permission: tracking:write
Path parameters
idrequiredinteger | ≥ 1 |
Responses
204Done400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)429Rate limited: see the Retry-After header
curl -X DELETE https://api.dialerday.com/v1/tracking/numbers/42 \
-H "Authorization: Bearer $DIALERDAY_API_KEY"Blocked callers
/v1/tracking/blocklisttracking:readNeeds Call tracking in your plan.
Permission: tracking:read
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/tracking/blocklist \
-H "Authorization: Bearer $DIALERDAY_API_KEY"Block a caller
/v1/tracking/blocklisttracking:writeA full number, or a prefix ending in *.
Needs Call tracking in your plan.
Permission: tracking:write
Headers
Idempotency-Keystring | Retry safely: the first response is replayed for 24 hoursmax 200 chars |
Request body
patternrequiredstring | |
reasonstring | null | |
daysinteger | null | Leave out to block until removed |
Responses
201OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)429Rate limited: see the Retry-After header
curl -X POST https://api.dialerday.com/v1/tracking/blocklist \
-H "Authorization: Bearer $DIALERDAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pattern": "string"
}'Unblock
/v1/tracking/blocklist/{id}tracking:writeNeeds Call tracking in your plan.
Permission: tracking:write
Path parameters
idrequiredinteger | ≥ 1 |
Responses
204Done400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)429Rate limited: see the Retry-After header
curl -X DELETE https://api.dialerday.com/v1/tracking/blocklist/42 \
-H "Authorization: Bearer $DIALERDAY_API_KEY"Bid on a call (for networks selling calls to you)
/rtb/v1/bidOther networks ask whether you buy a call before they send it. Authenticate with the seller key you created under Call tracking → Bidding (Authorization: Bearer rtbs_…), not an API key.
The campaign’s targets are checked like a live call would be (hours, caps, state and ZIP filters, the block list). When one can take it you get a bid in dollars and a number to send the call to, held for that caller for expires_in seconds. Calls that arrive on it are routed by the campaign and credited to the seller’s publisher code.
Declined bids answer accepted: false with a reason (campaign paused, daily cap reached, no buyer available, caller blocked).
Request body
callerstring | The caller’s number, E.164 (+15551234567); when given, the number is held for this caller only |
statestring | Two-letter US state, when known |
zipstring | Five-digit ZIP code, when known |
tagsobject | Anything else you know (matched against targets’ tag filters) |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key429Rate limited: see the Retry-After header
curl -X POST https://api.dialerday.com/rtb/v1/bid \
-H "Authorization: Bearer $SELLER_KEY" \
-H "Content-Type: application/json" \
-d '{
"caller": "+15551234567",
"state": "TX",
"zip": "78701",
"tags": {
"insured": "yes"
}
}'{
"bid_id": "3f0c6b1e-6a2f-4d5e-9b0a-1c2d3e4f5a6b",
"accepted": true,
"bid": 22.5,
"phone_number": "+15125550188",
"expires_in": 120,
"reason": null
}Website number swapping script
/tk/dni.jsPaste the script from Call tracking → Numbers & pools before </body> on your site: <script src="https://<api>/tk/dni.js?k=dp_…" data-replace="+15125550100" async></script>.
data-replace is the number printed on your pages; elements with class dw-number (or a data-dw-number attribute) and tel: links to it show each visitor their own pool number while they browse. data-format changes how it is shown (default (xxx) xxx-xxxx).
The call is then tied to the visit: landing page, referrer, UTM tags, keyword and ad click id (gclid, gbraid, wbraid, fbclid, msclkid…). With Affiliatetrackingo’s t.js on the same page, the caller is credited to the affiliate who sent them.
Query parameters
krequiredstring | The pool’s public key (dp_…) |
curl https://api.dialerday.com/tk/dni.jsA buyer’s report (signed link)
/tk/buyer/{id}/{sig}What the buyer report link shows, as JSON: the buyer’s calls in a period with what each cost and whether it can still be returned. The link (from Call tracking → Targets & buyers) is the credential; a new link revokes the old one.
Path parameters
idrequiredinteger | ≥ 1 |
sigrequiredstring |
Query parameters
fromrequiredstring (date) | |
torequiredstring (date) |
Responses
200OK404Not found
curl https://api.dialerday.com/tk/buyer/42/{sig}