Actions138
- Account Actions
- Contact Actions
- List Actions
- Campaign Actions
- Webhook Actions
- Segment Actions
- Report Actions
- Email Actions
- Custom Attribute Actions
- Sender Actions
- Template Actions
- Sub-Account Actions
- Log Actions
- User Actions
- Domain Actions
- DKIM Actions
- Form Actions
- Token Actions
- Interest Actions
- Tags Actions
- Suppressed Email Actions
- Links Actions
List → List
AI-generatedSummary
List all available mailing lists or a specified subset of them in Cakemail.
Inputs
- accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, it uses the authenticated account.
- listLimit — Number of results to return, defaulting to 20.
Output shape
a list of mailing lists
Returns a paginated list of mailing lists based on the specified limit; an account ID may also filter results.
Examples
Example 1: Retrieve all mailing lists without specifying account ID
Use only the 'listLimit' parameter.
Example 2: Retrieve mailing lists for a specific account
Specify 'accountId' along with 'listLimit'.