Get All Lists
Retrieve a paginated list of all subscriber lists associated with your account using this endpoint. Useful for managing and referencing available list records.
๐ Get All Lists
Retrieve all available subscriber lists associated with your account.
๐น HTTP Request
GET API-URL/lists๐ธ Query Parameters
Parameter
Default
Description
page
1
Current page number to retrieve.
per_page
10
Number of items per page to return.
๐ Authorization Header
Include your customer API key:
X-API-KEY: your-api-key-here๐ป PHP Example
// GET ALL ITEMS
$response = $endpoint->getLists($pageNumber = 1, $perPage = 10);
// DISPLAY RESPONSE
echo '<pre>';
print_r($response->body);
echo '</pre>';๐ฆ Sample JSON Response
Returns a JSON array of list objects including metadata such as list ID, name, and creation details.