tcrCampaignId
, and not campaignId
. In all other cases (where the campaign you're assigning was created with Telnyx 10DLC services), only provide campaignId
, not tcrCampaignId
.curl --location --request POST '/phoneNumberAssignmentByProfile' \
--header 'Content-Type: application/json' \
--data-raw '{
"campaignId": "4b300178-131c-d902-d54e-72d90ba1620j",
"messagingProfileId": "4001767e-ce0f-4cae-9d5f-0d5e636e7809",
"tcrCampaignId": "CWZTFH1"
}'
{
"errors": [
{
"code": 0,
"detail": "string",
"meta": {},
"source": {
"parameter": "string",
"pointer": "/json/pointer"
},
"title": "string"
}
]
}
Authorization: Bearer ********************