Purchase number
documentedPurchase a new tracking number for the specified account.
POST /api/v1/accounts/{account_id}/numbersNumbersno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.calltrackingmetrics.com/api/v1/accounts/{{$account_id}}/numbers" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "country": "{{$country}}", "type": "{{$type}}", "tracking_source": "{{$tracking_source}}", "destination_number": "{{$destination_number}}", "target_number": "{{$target_number}}", "description": "{{$description}}"}'