{ "opencollection": "1.0.0", "info": { "name": "Telnyx Access Tokens Shared Campaigns API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Shared Campaigns", "type": "folder" }, "items": [ { "info": { "name": "List shared partner campaigns", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/10dlc/partnerCampaign/sharedByMe", "params": [ { "name": "page", "value": "", "type": "query", "description": "The 1-indexed page number to get. The default value is `1`." }, { "name": "recordsPerPage", "value": "", "type": "query", "description": "The amount of records per page, limited to between 1 and 500 inclusive. The default value is `10`." } ] }, "docs": "Get all partner campaigns you have shared to Telnyx in a paginated fashion\n\nThis endpoint is currently limited to only returning shared campaigns that Telnyx\nhas accepted. In other words, shared but pending campaigns are currently omitted\nfrom the response from this endpoint." }, { "info": { "name": "Get Sharing Status", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/10dlc/partnerCampaign/:campaignId/sharing", "params": [ { "name": "campaignId", "value": "", "type": "path", "description": "ID of the campaign in question" } ] }, "docs": "Get Sharing Status" }, { "info": { "name": "List Shared Campaigns", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/10dlc/partner_campaigns", "params": [ { "name": "page", "value": "", "type": "query", "description": "The 1-indexed page number to get. The default value is `1`." }, { "name": "recordsPerPage", "value": "", "type": "query", "description": "The amount of records per page, limited to between 1 and 500 inclusive. The default value is `10`." }, { "name": "sort", "value": "-assignedPhoneNumbersCount", "type": "query", "description": "Specifies the sort order for results. If not given, results are sorted by createdAt in descending order." } ] }, "docs": "Retrieve all partner campaigns you have shared to Telnyx in a paginated fashion.\n\nThis endpoint is currently limited to only returning shared campaigns that Telnyx has accepted. In other words, shared but pending campaigns are currently omitted from the response from this endpoint." }, { "info": { "name": "Get Single Shared Campaign", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/10dlc/partner_campaigns/:campaignId", "params": [ { "name": "campaignId", "value": "", "type": "path" } ] }, "docs": "Retrieve campaign details by `campaignId`." }, { "info": { "name": "Update Single Shared Campaign", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.telnyx.com/v2/10dlc/partner_campaigns/:campaignId", "params": [ { "name": "campaignId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update campaign details by `campaignId`. **Please note:** Only webhook urls are editable." } ] } ], "bundled": true }