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
Custom Attribute → Get
AI-generatedSummary
Retrieve a custom attribute by its name for a specific list in Cakemail.
Inputs
- accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.
- listId (required) — The ID of the list.
- attributeName (required) — The name of the custom attribute.
Output shape
a record containing the requested custom attribute's details
Returns the details of the specified custom attribute for the given list. If the attribute does not exist, an error will be returned.
Examples
Example 1: Get the custom attribute named 'age' from list with ID 123.
Set 'listId' to 123 and 'attributeName' to 'age'. The 'accountId' is optional.