BetaThe v2 API is in beta — fields and behavior may change without notice. For stable production usage, see the API v1 Reference.

Contacts

Update custom attribute

Change an attribute’s display label, description, or archive flag. The type can’t change after creation — create a new attribute instead.

Endpoint

text
PUT https://services.chatmount.co/v2/chatbots/:chatbotId/custom-attributes/:name

Request body

json
{
  "label": "Department",
  "description": "Updated employee department",
  "archived": false
}

Patchable fields: label, description, archived.

Response

json
{
  "message": "Success",
  "data": {
    "name": "department",
    "label": "Department",
    "type": "text",
    "description": "Updated employee department",
    "archived": false
  }
}

Related