v1

latestOpenAPI 3.0.32026-07-13201451.3 KB
Contacts

Update custom attribute

Updates an existing custom attribute

put/chatbots/{chatbotId}/custom-attributes/{name}

Path parameters

chatbotIdstring required

ID of the chatbot

namestring required

Name of the custom attribute

Request body

labelstring

Display label for the attribute

descriptionstring

Description of the attribute

archivedboolean

Whether the attribute is archived

Example request

{
  "label": "Department",
  "description": "Updated employee department"
}

Response

Custom attribute updated successfully

messagestring

Example response

{
  "message": "Success",
  "data": {
    "name": "department",
    "label": "Department",
    "type": "text",
    "description": "Employee department"
  }
}