v1
latestOpenAPI 3.0.32026-07-13201451.3 KBContacts
Create custom attribute
Creates a new custom attribute for contacts
post/chatbots/{chatbotId}/custom-attributes
Path parameters
chatbotIdstring required
ID of the chatbot
Request body
Example request
{
"name": "department",
"label": "Department",
"type": "text",
"description": "Employee department"
}Response
Custom attribute created successfully
Example response
{
"message": "Success",
"data": {
"name": "department",
"label": "Department",
"type": "text",
"description": "Employee department"
}
}