DialerDay Docs

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

get/v1/tracking/campaigns
Permission tracking:read

Needs Call tracking in your plan.

Permission: tracking:read

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not 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"
Response · 200
{
  "data": [
    {
      "id": 2,
      "name": "Auto insurance",
      "status": "active",
      "convert_seconds": 90,
      "revenue_cents": 4500,
      "payout_cents": 2000,
      "numbers": 6,
      "routes": 3
    }
  ]
}

Tracked calls

get/v1/tracking/calls
Permission tracking:read

Newest 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

fromrequired
string
torequired
string
campaign_id
integer
buyer_id
integer
publisher
string
An Affiliatetrackingo referral codemax 40 chars
status
"routing" | "ivr" | "ringing" | "connected" | "completed" | "no_answer" | "no_target" | "blocked" | "closed"
converted
"true" | "false"
limit
integer
1–500 · default 100
before
integer

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not 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"
Response · 200
{
  "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

get/v1/tracking/calls/{id}
Permission tracking:read

With its routing trace, gathered tags, attribution (UTM, click ids), bids and postbacks.

Needs Call tracking in your plan.

Permission: tracking:read

Path parameters

idrequired
integer
≥ 1

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not 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

post/v1/tracking/calls/{id}/convert
Permission tracking:write

For 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

idrequired
integer
≥ 1

Headers

Idempotency-Key
string
Retry safely: the first response is replayed for 24 hoursmax 200 chars

Request body

revenue_cents
integer | null
Leave out for the target's price

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not 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

post/v1/tracking/calls/{id}/return
Permission tracking:write

No revenue for it, and the publisher’s commission in Affiliatetrackingo is clawed back.

Needs Call tracking in your plan.

Permission: tracking:write

Path parameters

idrequired
integer
≥ 1

Headers

Idempotency-Key
string
Retry safely: the first response is replayed for 24 hoursmax 200 chars

Request body

reasonrequired
string
1–500 chars

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not 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

get/v1/tracking/reports
Permission tracking:read

Calls, conversions, revenue, payout, costs and profit grouped by one dimension, with totals.

Needs Call tracking in your plan.

Permission: tracking:read

Query parameters

fromrequired
string
torequired
string
campaign_id
integer
buyer_id
integer
publisher
string
An Affiliatetrackingo referral codemax 40 chars
group
"campaign" | "buyer" | "target" | "number" | "source" | "publisher" | "state" | "day" | "hour" | "bidder"
default "campaign"

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not 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

get/v1/tracking/targets
Permission tracking:read

Where 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

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not 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"
Response · 200
{
  "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

patch/v1/tracking/targets/{id}
Permission tracking:write

Pause 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

idrequired
integer
≥ 1

Request body

active
boolean
revenue_cents
integer | null
Price per conversion; null: the campaign's
revenue_mode
"flat" | "per_minute"
convert_seconds
integer | null
concurrency_cap
integer | null
hourly_cap
integer | null
daily_cap
integer | null
monthly_cap
integer | null
total_cap
integer | null
timeout_seconds
integer
5–120

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not 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

get/v1/tracking/buyers
Permission tracking:read

With their last 30 days of calls and revenue, and their read-only report link.

Needs Call tracking in your plan.

Permission: tracking:read

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not 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

get/v1/tracking/numbers
Permission tracking:read

Numbers in a tracking campaign, with their source, publisher referral code and pool.

Needs Call tracking in your plan.

Permission: tracking:read

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not 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"
Response · 200
{
  "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

put/v1/tracking/numbers/{id}
Permission tracking:write

The 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

idrequired
integer
≥ 1

Request body

campaign_idrequired
integer
source
string | null
aff_ref_code
string | null
pool_id
integer | null

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not 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

delete/v1/tracking/numbers/{id}
Permission tracking:write

Its calls go back to the number’s own inbound settings.

Needs Call tracking in your plan.

Permission: tracking:write

Path parameters

idrequired
integer
≥ 1

Responses

  • 204Done
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not 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

get/v1/tracking/blocklist
Permission tracking:read

Needs Call tracking in your plan.

Permission: tracking:read

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not 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

post/v1/tracking/blocklist
Permission tracking:write

A full number, or a prefix ending in *.

Needs Call tracking in your plan.

Permission: tracking:write

Headers

Idempotency-Key
string
Retry safely: the first response is replayed for 24 hoursmax 200 chars

Request body

patternrequired
string
reason
string | null
days
integer | null
Leave out to block until removed

Responses

  • 201OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not 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

delete/v1/tracking/blocklist/{id}
Permission tracking:write

Needs Call tracking in your plan.

Permission: tracking:write

Path parameters

idrequired
integer
≥ 1

Responses

  • 204Done
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not 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)

post/rtb/v1/bid
Seller key (rtbs_…)

Other 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

caller
string
The caller’s number, E.164 (+15551234567); when given, the number is held for this caller only
state
string
Two-letter US state, when known
zip
string
Five-digit ZIP code, when known
tags
object
Anything else you know (matched against targets’ tag filters)

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 429Rate 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"
  }
}'
Response · 200
{
  "bid_id": "3f0c6b1e-6a2f-4d5e-9b0a-1c2d3e4f5a6b",
  "accepted": true,
  "bid": 22.5,
  "phone_number": "+15125550188",
  "expires_in": 120,
  "reason": null
}

Website number swapping script

get/tk/dni.js
Public: no API key

Paste 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

krequired
string
The pool’s public key (dp_…)
curl https://api.dialerday.com/tk/dni.js

A buyer’s report (signed link)

get/tk/buyer/{id}/{sig}
Public: no API key

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

idrequired
integer
≥ 1
sigrequired
string

Query parameters

fromrequired
string (date)
torequired
string (date)

Responses

  • 200OK
  • 404Not found
curl https://api.dialerday.com/tk/buyer/42/{sig}