Cakemail icon

Cakemail

Interact with Cakemail API

Form → Create

AI-generated

Summary

Create a new form in Cakemail for adding subscribers to a specified list.

Inputs

  • accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.
  • name (required) — Name of the form
  • listId (required) — ID of the list to add subscribers to
  • additionalFields — Additional optional fields such as description, redirect URL, submit button text, and double opt-in status.

Output shape

a record containing the details of the created form

Includes the form ID and other pertinent details about the created form.

Examples

Example 1: Creating a subscription form for a mailing list

Set 'name' to 'Newsletter Signup', 'listId' to 12345, with optional additional fields for a redirect URL and submit button text.

Discussion