Get All Campaigns
Retrieve a paginated list of all campaigns associated with your account. You can optionally filter campaigns by a specific list UID.
π Get All Campaigns
List all campaigns created in your account, with support for pagination and optional filtering.
πΉ HTTP Request
GET API-URL/campaignsπ Query Parameters
Parameter
Default
Description
page
1
Current page number to retrieve.
per_page
10
Number of campaigns per page.
list_uid
Optional. Return only campaigns belonging to the specified list.
π Authorization Header
X-API-KEY: your-api-key-hereπ» PHP Example
// GET ALL ITEMS
$response = $endpoint->getCampaigns($pageNumber = 1, $perPage = 10);
// DISPLAY RESPONSE
echo "<pre>";
print_r($response->body);
echo "</pre>";