Shared Campaigns
Update Single Shared Campaign
Changed onUpdate campaign details by campaignId. Please note: Only webhook urls are editable.
patch/10dlc/partner_campaigns/{campaignId}
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/10dlc/partner_campaigns/{campaignId}
- Auth: HTTP bearer
Path parameters
campaignIdstring required
Unique identifier of the campaign.
Request body
Example request
{
"webhookURL": "https://webhook.com/67ea78a8-9f32-4d04-b62d-f9502e8e5f93",
"webhookFailoverURL": "https://webhook.com/9010a453-4df8-4be6-a551-1070892888d6"
}Response
Successful Response
Example response
{
"assignedPhoneNumbersCount": 3,
"brandDisplayName": "ABC Mobile",
"campaignStatus": "TCR_ACCEPTED",
"tcrBrandId": "BBRAND1",
"tcrCampaignId": "CCAMP1",
"webhookURL": "https://example.com/webhook",
"webhookFailoverURL": "https://example.com/failover-webhook",
"createdAt": "2021-03-08T17:57:48.801186",
"updatedAt": "2021-03-08T17:57:48.801186"
}Changes
- breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - info
added the optional property
//to the response with the status
- breaking
- breaking
the
//response's property type changed fromstringtointeger, and format from no format toint32for status - info
added the optional property
//to the response with the status
- breaking