List Campaigns
Retrieve a list of campaigns associated with a supplied brandId.
Query parameters
Filter results by brand id.
The 1-indexed page number to get. The default value is 1.
The 1-indexed page number to get. The default value is 1.
The amount of records per page, limited to between 1 and 500 inclusive. The default value is 10.
The amount of records per page, limited to between 1 and 500 inclusive. The default value is 10.
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": [
{
"assignedPhoneNumbersCount": 3,
"brandDisplayName": "ABC Mobile",
"brandId": "d2ca9d69-641b-4131-83fa-5d0744f4c8a9",
"campaignId": "823d6b1a-6ed6-41a3-9c50-c8ff41b682ba",
"campaignStatus": "TCR_ACCEPTED",
"tcrBrandId": "BBRAND1",
"tcrCampaignId": "CCAMP1",
"webhookFailoverURL": "https://example.com/failover-webhook",
"webhookURL": "https://example.com/webhook"
}
]
}Changes
Changed in 2 of the 61 revisions of this API.211
- ▲
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
- ▲