Take a number off its campaign (and publisher)
Needs the numbers:write scope. About scopes
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.
keyAuthorizationBearer <traki_account_…>id*stringuuidapplication/json- body
publisher?booleanAlso take the number off its publisher. Off by default.
Success
application/json- response
id*stringuuidnumber*stringname*string|nulltype*stringcountry*stringregion*string|nullstate*stringcampaignId*|nullpublisher*|nullmonthlyRent*stringacquiredAt*stringupdatedAt*stringcurl -X POST 'https://api.traki.io/v1/account/numbers/497f6eca-6276-4993-bfeb-53cbbbba6f08/release' \ -H "Authorization: Bearer $TRAKI_KEY" \ -H 'Content-Type: application/json' \ -H 'Idempotency-Key: a-unique-id-for-this-change' \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "number": "string", "name": "string", "type": "string", "country": "string", "region": "string", "state": "string", "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf", "publisher": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "name": "string" }, "monthlyRent": "string", "acquiredAt": "string", "updatedAt": "string"}Assign a number to a campaign and publisher POST
Puts the number on one of the account’s call campaigns, for one of its publishers. Give `campaignId`, `publisherId` or both: without `campaignId` the number stays on its current campaign and changes publisher; without `publisherId` it keeps its publisher. The publisher must be approved on the campaign (422 source_not_approved). Pool numbers follow their pool and cannot be assigned one by one.
The call log, newest first GET
Next Page