Skip to main content

Get Single Phone Number Campaign

GET 
/phoneNumberCampaign/:phoneNumber

Retrieve an individual phone number/campaign assignment by phoneNumber.

Request

Path Parameters

    phoneNumber Phonenumberrequired

Responses

200: Successful Response

default: Unexpected error

Request samples


curl -L 'https://api.telnyx.com/10dlc/phoneNumberCampaign/:phoneNumber' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"phoneNumber": "+18005550199",
"brandId": "7ba705b7-22af-493f-addc-ac04b7ca071c",
"tcrBrandId": "BBRAND1",
"campaignId": "string",
"tcrCampaignId": "CCAMPA1",
"telnyxCampaignId": "3008dd9f-66d7-40e0-bf23-bf2d8d1a96ba",
"assignmentStatus": "ASSIGNED",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}