Calls
The call log, newest first
Needs the calls:read scope. About scopes
keyheader
AuthorizationBearer <traki_account_…>limit?integerRange
1 <= value <= 100Default
25cursor?stringLength
length <= 200updatedSince?stringFormat
date-timestartedAfter?stringFormat
date-timestartedBefore?stringFormat
date-timecampaignId?stringFormat
uuidbuyerId?stringFormat
uuidpublisherId?stringFormat
uuidbillable?stringValue in
"true""false"Success
application/json- response
data*array<>hasMore*booleannextCursor*string|nullcurl 'https://api.traki.io/v1/account/calls' \ -H "Authorization: Bearer $TRAKI_KEY"Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "string", "campaign": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "name": "string" }, "buyer": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "name": "string" }, "publisher": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "name": "string" }, "caller": "string", "trackingNumberId": "42037764-5339-4d85-808a-bbf1a4c324a9", "startedAt": "string", "answeredAt": "string", "endedAt": "string", "durationSec": -9007199254740991, "connectedSec": -9007199254740991, "stage": "string", "outcome": "string", "billable": true, "buyerCharge": "string", "publisherPayout": "string", "recordingUrl": "string", "updatedAt": "string" } ], "hasMore": true, "nextCursor": "string"}Take a number off its campaign (and publisher) POST
Unassigns the number: it leaves its campaign and stops routing calls, and with `publisher: true` it also leaves its publisher and returns to the account’s own use. The account keeps the number. This is not a release to the carrier: giving a number back to the carrier is a purchase-side action that comes with the numbers-purchase routes. Pool numbers follow their pool and cannot be released one by one.
One call GET
Next Page