curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -H "Content-Type: application/json" -X PUT -d '{"traffic_source_id":"1002592"}' https://[your-subdomain].trackdrive.com/api/v1/phone_numbers/:id
Param name |
Description
Validations
|
||||||
---|---|---|---|---|---|---|---|
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 '+'
|
||||||
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.
|