GET Contacts by Lists​
GET
/reports/contacts-by-lists
Retrieve a paginated list of mailing lists with the number of contacts assigned to each list, sorted by contact count descending.
Authorizations​
ApplicationPasswords
WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password
Type
API Key (header: Authorization)
Parameters​
Query Parameters
per_page
Number of list rows to return per page.
Type
integer
Default
20page
Page number for pagination.
Type
integer
Default
1Responses​
List contact counts retrieved successfully.
application/json
JSON
{
"lists": {
"current_page": 0,
"data": [
{
"id": 0,
"title": "string",
"contact_count": 0
}
],
"from": 0,
"last_page": 0,
"next_page_url": "string",
"path": "string",
"per_page": 0,
"prev_page_url": "string",
"to": 0,
"total": 0
}
}