Cakemail icon

Cakemail

Interact with Cakemail API

List → Create

AI-generated

Summary

Create a new email list in Cakemail.

Inputs

  • accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.
  • listName (required) — The name of the list
  • listAdditionalFields — Additional fields for the list creation, such as description, sender name, sender email, and language.

Output shape

a record containing the details of the created list

Returned data will include the list's ID and other relevant information. If the accountId is not provided, it defaults to the authenticated user's account.

Examples

Example 1: Creating an email list named 'Newsletter' with a description and a specific sender email.

Inputs: { "listName": "Newsletter", "listAdditionalFields": { "description": "Monthly updates", "sender_name": "Your Company", "sender_email": "noreply@yourcompany.com" } }

Discussion