Fale Já icon

Fale Já

Interaja com a API do Fale Já - Application, Client e Platform APIs

Actions123

Custom Attribute → Update

AI-generated

Summary

Update a custom attribute's display name, description, or comma-separated values.

Inputs

  • apiType — Select which API to use based on your role and use case. Defaults to Application API for agents and admins managing conversations, contacts, messages, teams, reports and account settings.
  • attributeModel (required) — Type of custom attribute. Choose Contact Attribute for custom fields on contacts, or Conversation Attribute for custom fields on conversations.
  • attributeId (required) — The ID of the custom attribute to update.
  • updateFields (required) — Collection of fields to update on the custom attribute. Supports attribute_display_name (string), attribute_description (string), and attribute_values (comma-separated string of options).

Output shape

The updated custom attribute object as returned by the Chatwoot API.

Returned data reflects the modified attribute after the update operation completes via the selected API type.

Examples

Example 1: Update a contact custom attribute's display name and values.

Select Client API, set Attribute Model to Contact Attribute, provide the Attribute ID, and add two fields in Update Fields: attribute_display_name = 'Preferred Contact Method' and attribute_values = 'Email,Phone'.

Links

Discussion