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
Template → List
AI-generatedSummary
List templates in Cakemail.
Inputs
- accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.
- returnAll — Whether to return all results or only up to a given limit.
- limit — Max number of results to return.
- additionalFields — Additional fields to refine the request, such as filter and sort options.
Output shape
a list of template records
Returned records may vary based on pagination, and optional fields can be included in the response.
Examples
Example 1: Getting a List of All Templates
Set 'returnAll' to true.
Example 2: Getting a Limited Number of Templates with Filtering
Set 'limit' to the desired number and utilize 'filter' in 'additionalFields'.