List Custom Attribute Definitions

GET

/v1/custom_attributes

Returns the schemas and option lists for dynamic custom attributes configured in the workspace.

Parameters

NameTypeDescription
entity_typestringFilter by entity: 'customer' or 'conversation'

Responses

200List of custom fields
{
  "data": [
    {
      "id": "cf_01",
      "attribute_name": "Plan Tier",
      "attribute_key": "plan_tier",
      "attribute_type": "select",
      "entity_type": "customer",
      "options": ["Free", "Pro", "Enterprise"]
    }
  ]
}