Examples

curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -H "Content-Type: application/json" -X POST -d '{"offer_id": 123,"traffic_source_id": 2345, "number":"+18001231234"}' https://[your-subdomain].trackdrive.com/api/v1/virtual_numbers

Params

Param name
Description
number
Required

Number

  • Must be String

offer_id
Required

Refer to the offer api for details

ring_pool_id
Optional Blank Value Allowed

Refer to the Number Pool api for details

traffic_source_id
Optional Blank Value Allowed

Refer to the traffic source api for details