Skip to main content

Retrieve All Phone Number Campaigns

GET 
/phoneNumberCampaign

Retrieve all of your organization's phone number/campaign assignments.

Request

Query Parameters

    recordsPerPage any
    page any
    filter[telnyx_campaign_id] uuid

    Filter results by the Telnyx Campaign id

    filter[telnyx_brand_id] uuid

    Filter results by the Telnyx Brand id

    filter[tcr_campaign_id] string

    Filter results by the TCR Campaign id

    filter[tcr_brand_id] string

    Filter results by the TCR Brand id

Responses

200: Successful Response

default: Unexpected error

Request samples


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

Response samples


{
"records": [
{
"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"
}
],
"page": 0,
"totalRecords": 0
}