Cakemail icon

Cakemail

Interact with Cakemail API

List → List

AI-generated

Summary

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'.

Discussion