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.