Numbers
One number
Needs the numbers:read scope. About scopes
keyheader
AuthorizationBearer <traki_account_…>id*stringFormat
uuidSuccess
application/json- response
id*stringFormat
uuidnumber*stringname*string|nulltype*stringcountry*stringregion*string|nullstate*stringcampaignId*|nullpublisher*|nullmonthlyRent*stringacquiredAt*stringupdatedAt*stringcurl 'https://api.traki.io/v1/account/numbers/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H "Authorization: Bearer $TRAKI_KEY"Example Response
{ "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"}List the account’s numbers and their assignments GET
Previous Page
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.