Cakemail icon

Cakemail

Interact with Cakemail API

Custom Attribute → Get

AI-generated

Summary

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.

Discussion