Contacts
Get custom attributes schema
Retrieves the custom attributes schema for contacts
get/chatbots/{chatbotId}/custom-attributes
Request
- Base URLhttps://www.chatbase.co/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
chatbotIdstring required
ID of the chatbot
Response
Custom attributes schema retrieved successfully
Example response
{
"message": "Success",
"data": [
{
"name": "department",
"label": "Department",
"type": "text",
"description": "Employee department"
}
]
}Changes
No recorded changes to this operation across all 5 revisions of this API.