Cakemail icon

Cakemail

Interact with Cakemail API

Custom Attribute → List

AI-generated

Summary

Lists all custom attributes associated with a specified mailing list.

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.
  • customAttributeAdditionalFields — Additional optional fields for pagination and count: page, per_page, and with_count.

Output shape

a list of custom attributes

Returns a list of custom attributes for the specified list. The response can include pagination based on the provided 'page' and 'per_page' parameters.

Examples

Example 1: List all custom attributes for a mailing list

Set 'listId' to 12345 to retrieve all custom attributes associated with that mailing list.

Discussion