{ "opencollection": "1.0.0", "info": { "name": "Telnyx Access Tokens Bulk Phone Number Campaigns API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Bulk Phone Number Campaigns", "type": "folder" }, "items": [ { "info": { "name": "Assign Messaging Profile To Campaign", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/10dlc/phoneNumberAssignmentByProfile", "body": { "type": "json", "data": "{}" } }, "docs": "This endpoint allows you to link all phone numbers associated with a Messaging Profile to a campaign. **Please note:** if you want to assign phone numbers to a campaign that you did not create with Telnyx 10DLC services, this endpoint allows that provided that you've shared the campaign with Telnyx. In this case, only provide the parameter, `tcrCampaignId`, and not `campaignId`. In all other cases (where the campaign you're assigning was created with Telnyx 10DLC services), only provide `campaig" }, { "info": { "name": "Get Assignment Task Status", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/10dlc/phoneNumberAssignmentByProfile/:taskId", "params": [ { "name": "taskId", "value": "", "type": "path" } ] }, "docs": "Check the status of the task associated with assigning all phone numbers on a messaging profile to a campaign by `taskId`." }, { "info": { "name": "Get Phone Number Status", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/10dlc/phoneNumberAssignmentByProfile/:taskId/phoneNumbers", "params": [ { "name": "taskId", "value": "", "type": "path" }, { "name": "recordsPerPage", "value": "", "type": "query" }, { "name": "page", "value": "", "type": "query" } ] }, "docs": "Check the status of the individual phone number/campaign assignments associated with the supplied `taskId`." } ] } ], "bundled": true }