Campaign
Update campaign
Changed onUpdate a campaign's properties by campaignId. Please note: only sample messages are editable.
put/10dlc/campaign/{campaignId}
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/10dlc/campaign/{campaignId}
- Auth: HTTP bearer
Path parameters
campaignIdstring required
Unique identifier of the campaign.
Request body
Response
Successful Response
Example response
{
"brandId": "d2ca9d69-641b-4131-83fa-5d0744f4c8a9",
"brandDisplayName": "ABC Mobile",
"campaignId": "823d6b1a-6ed6-41a3-9c50-c8ff41b682ba",
"tcrBrandId": "BBRAND1",
"tcrCampaignId": "CCAMP1",
"webhookURL": "https://example.com/webhook",
"webhookFailoverURL": "https://example.com/failover-webhook",
"campaignStatus": "TCR_ACCEPTED"
}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