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
Sub-Account → Create
AI-generatedSummary
Create a new sub-account in Cakemail.
Inputs
- accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.
- companyName (required) — Name of the sub-account company.
- email (required) — Email address for the sub-account.
- additionalFields — A collection of optional additional fields for the sub-account, including first name, last name, phone, address, city, province/state, postal code, country, language, and timezone.
Output shape
a confirmation of the sub-account creation with details
The output will include the created sub-account's details, and should include all provided fields.
Examples
Example 1: Create a sub-account for a new service under the authenticated account.
Set the 'companyName' to 'New Sub Account', 'email' to 'newsubaccount@example.com', and provide any additional fields needed such as 'firstName', 'lastName', etc.