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
Form → Create
AI-generatedSummary
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.