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>";

πŸ“¦ Sample JSON Response