List phone number campaigns
Returns phone-number-to-campaign assignments for the authenticated account. Apply the documented filters and pagination parameters to narrow the result set.
Query parameters
Number of records to return per page.
Page number to retrieve (1-based).
Consolidated filter parameter (deepObject style). Originally: filter[telnyx_campaign_id], filter[telnyx_brand_id], filter[tcr_campaign_id], filter[tcr_brand_id]
{
"telnyx_campaign_id": "f3575e15-32ce-400e-a4c0-dd78800c20b0",
"telnyx_brand_id": "f3575e15-32ce-400e-a4c0-dd78800c20b0",
"tcr_campaign_id": "CAMPID3",
"tcr_brand_id": "BRANDID"
}Specifies the sort order for results. If not given, results are sorted by created_at in descending order.
Specifies the sort order for results. If not given, results are sorted by createdAt in descending order.
Response
Successful Response
Example response
{
"records": [
{
"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
Changed in 4 of the 99 revisions of this API.314
- ▲
the
//response's property type changed fromstringtointeger, and format from no format toint32for statusresponse-property-type-changed
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
This revision also has 34 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
//response's property type changed fromintegertostring, and format fromint32to no format for statusresponse-property-type-changed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
//response's property type changed fromstringtointeger, and format from no format toint32for statusresponse-property-type-changed
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
Of the 99 revisions, 1 has no diff computed.