Skip to Content
Developers
Routing

A call campaign’s routing and bidding settings

Needs the routing:read scope. About scopes

Try it with a test key

Sends to https://api.traki.io

Test keys only. The key stays in this page while it is open and is never saved.

/v1/account/call-campaigns/{id}/routing

How a call picks among the campaign’s buyers (routing mode, bid type, floor, ceiling and auction timeout), retries and ring times, the call flow it runs, and each buyer’s tier, weight and bid.

Authorization

key
headerAuthorizationBearer <traki_account_…>

Path Parameters

id*string
Formatuuid

Response Body

Success

application/json
  1. response
campaignId*string
Formatuuid
routingMode*string
bidType*string
bidFloor*string|null
bidCeiling*string|null
bidTimeoutMs*integer
Range-9007199254740991 <= value <= 9007199254740991
duplicateWindowSec*integer
Range-9007199254740991 <= value <= 9007199254740991
retryEnabled*boolean
ringTimeoutSec*integer
Range-9007199254740991 <= value <= 9007199254740991
routingBudgetSec*integer
Range-9007199254740991 <= value <= 9007199254740991
maxCallSec*|null
callFlowId*|null
buyers*array<>
version*string
updatedAt*string
Example Request
curl 'https://api.traki.io/v1/account/call-campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08/routing' \  -H "Authorization: Bearer $TRAKI_KEY"
Example Response
{  "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",  "routingMode": "string",  "bidType": "string",  "bidFloor": "string",  "bidCeiling": "string",  "bidTimeoutMs": -9007199254740991,  "duplicateWindowSec": -9007199254740991,  "retryEnabled": true,  "ringTimeoutSec": -9007199254740991,  "routingBudgetSec": -9007199254740991,  "maxCallSec": -9007199254740991,  "callFlowId": "80fb559f-d693-4e3e-8016-041c1fd3c5c5",  "buyers": [    {      "buyer": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "externalId": "string",        "name": "string"      },      "tier": -9007199254740991,      "weight": -9007199254740991,      "bid": "string",      "status": "string"    }  ],  "version": "string",  "updatedAt": "string"}