GET List Lists​
Retrieve a paginated list of contact lists. Optionally includes subscriber counts and a separate array of all lists for dropdown/select usage.
Required capability: fcrm_manage_contact_cats
Enforced by ListPolicy::verifyRequest(), the policy default for this route group.
Authorizations​
WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password
Parameters​
Query Parameters
Search lists by title, slug, or description.
Column to sort by.
"id""title""slug""created_at""id"Sort direction.
"ASC""DESC""DESC"Number of lists per page.
15Page number for pagination.
1If set to any truthy value, totalCount and subscribersCount will not be included for each list.
If set to any truthy value, includes a flat all_lists array with id, title, and slug of every list (useful for dropdowns).
Extra data to include. subscribersCount adds per-list contact counts via one grouped pivot query.
Responses​
Paginated list of contact lists.