Create tracker (write)
create_trackerCreate a new call tracking number by specifying the company, type (source or session), name, and destination number. Optionally set area code, toll-free, call flow, and source or swap targets.
Instructions
WRITE: Create a tracking number. type is source or session; provisions a number in the given company. Use a JSON object for source-specific config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Tracker name. | |
| type | Yes | Tracker type. | |
| source | No | Source configuration object (for source trackers). | |
| area_code | No | Preferred area code for the new number. | |
| call_flow | No | Optional call-flow configuration object. | |
| toll_free | No | ||
| account_id | No | CallRail account id. Defaults to CALLRAIL_ACCOUNT_ID if set. | |
| company_id | Yes | Company to create the tracker in. | |
| swap_targets | No | Phone numbers to swap on the website (for session trackers). | |
| destination_number | Yes | Number calls forward to. |