Phone Number Campaigns
Create New Phone Number Campaign
Changed onAssigns a phone number to a 10DLC campaign. The assignment controls which registered campaign is used for traffic from that number.
post/10dlc/phone_number_campaigns
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/10dlc/phone_number_campaigns
- Auth: HTTP bearer
Request body
Example request
{
"phoneNumber": "+18005550199",
"campaignId": "4b300178-131c-d902-d54e-72d90ba1620j"
}Response
Successful Response
Example response
{
"phoneNumber": "+18005550199",
"brandId": "7ba705b7-22af-493f-addc-ac04b7ca071c",
"tcrBrandId": "BBRAND1",
"tcrCampaignId": "CCAMPA1",
"telnyxCampaignId": "3008dd9f-66d7-40e0-bf23-bf2d8d1a96ba",
"assignmentStatus": "ASSIGNED",
"tmobileNumberMappingStatus": "ADDED",
"nonTmobileNumberMappingStatus": "ADDED",
"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