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/:nameRequest 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