POST /calls/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.net/api/v1/calls/:id
Update a call by ID or UUID
Update a call by Call ID or Call UUID with contact fields, revenue, payout, and more.
Params
| Param name | Description | ||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank value allowed |
This endpoint supports multiple response formats. Pass
|
||||||
|
id Optional |
Find the call by
|
||||||
|
post_call_tokens Optional |
Custom contact fields defined on the offer.
|
||||||
|
revenue Optional |
The revenue paid out for the call.
|
||||||
|
add_revenue Optional |
Add this amount to the call’s current revenue. For example pass 2.5 to add 2.5 to the current call revenue. If the call revenue is currently 10.50, the revenue would become 13 (10.50 + 2.50)
|
||||||
|
add_payout Optional |
Add this amount to the call’s current payout.
|
||||||
|
buyer_converted Optional |
Did the buyer convert?
|
||||||
|
trackdrive_buyer_id Optional |
Update the winning Buyer that is assigned to this call.
|
||||||
|
payout Optional |
The amount paid to the traffic source.
|
||||||
|
offer_converted Optional |
Did the traffic source convert?
|
||||||
|
trackdrive_traffic_source_id Optional |
Update the Traffic Source that is assigned to this call.
|
||||||
|
contact_field_type Optional |
Pass an ID belonging to an
|
||||||
|
fire_outgoing_webhook_ids Optional |
Manually refire the listed outgoing webhook ids against this call.
|
||||||
|
manual_transcribe Optional |
Manually transcribe this call using the default transcription group.
|
||||||
|
call_disposition_id Optional Blank value allowed |
Call Disposition
|
||||||
|
agent_call_disposition_notes Optional Blank value allowed |
Notes
|
||||||
|
blocked Optional Blank value allowed |
Block or unblock this caller’s number. Blocking prevents outbound calls, SMS, and email to them, and blocks their inbound calls and SMS too.
|
||||||
|
contact_field_view_id Optional Blank value allowed |
The Agent Script this call is showing to the agent, which controls its custom fields and instructions.
|
||||||
|
description Optional Blank value allowed |
A human readable description of the record.
|
||||||
|
hang_up Optional Blank value allowed |
Set to true to immediately hang up this call.
|
||||||
|
original_recording_url Optional Blank value allowed |
The externally hosted recording URL for this call, before it is copied to Trackdrive’s own storage.
|
||||||
|
reapply_conversions Optional Blank value allowed |
Set to true to reapply this call’s buyer and offer conversion logic using its current revenue and payout.
|
||||||
|
rerun_webhooks Optional Blank value allowed |
Manually refire the webhooks associated with this call.
|
||||||
|
schedule_callback_now Optional Blank value allowed |
Schedule an immediate callback.
|
||||||
|
schedule_callback_random_one_hour Optional Blank value allowed |
Schedule a callback sometime in the next hour.
|