PUT /phone_numbers/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/phone_numbers/:id
Update a phone number's source or pool
Update a phone number's assigned traffic source, offer, buyer, or number pool, and other routing settings. Trackdrive Clean Phone Numbers (TDPN) cannot be edited through this endpoint.
Params
| Param name | Description | ||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank value allowed |
This endpoint supports multiple response formats. Pass
|
||||||
|
id Optional |
This can be either the internal trackdrive id or the full phone number beginning with ‘+’
|
||||||
|
description Optional Blank value allowed |
A note that identifies the number in your account.
|
||||||
|
forward_type Optional Blank value allowed |
Forward Type - Should the number forward to an Offer or a Buyer
|
||||||
|
buyer_id Optional Blank value allowed |
The buyer calls forward to when
|
||||||
|
offer_id Optional Blank value allowed |
Refer to the offer api for details
|
||||||
|
traffic_source_id Optional Blank value allowed |
Refer to the traffic source api for details
|
||||||
|
ring_pool_id Optional Blank value allowed |
Refer to the Number Pool api for details
|
||||||
|
traffic_source_override_lead_traffic_source Optional Blank value allowed |
Force Calls to Credit This Traffic Source and Extra Tokens, even if Lead Traffic Source or Data is Different
|
||||||
|
record_token_additional_list Optional Blank value allowed |
Assign additional tokens that will be applied to leads and calls by passing a comma separated string of key:value pairs.
|
||||||
|
paused Optional |
Pause or unpause.
|
||||||
|
use_with_key_press_flows Optional Blank value allowed |
Apply a key press flow group to calls on this number.
|
||||||
|
key_press_flow_group_id Optional Blank value allowed |
The key press flow group applied when
|
||||||
|
lead_match_sort_order Optional Blank value allowed |
Which leads to search first when matching an inbound caller to an existing lead.
|
||||||
|
delete_prevention Optional Blank value allowed |
When true, the number cannot be deleted until deletion prevention is turned off.
|