cURL
curl --request GET \ --url https://www.chatbase.co/api/v1/chatbots/{chatbotId}/custom-attributes \ --header 'Authorization: Bearer <token>'
{ "message": "Success", "data": [ { "name": "department", "label": "Department", "type": "text", "description": "Employee department", "archived": false } ] }
Retrieves the custom attributes schema for contacts
API key in Bearer token format
ID of the chatbot
Custom attributes schema retrieved successfully
"Success"
Array of custom attribute definitions
Show child attributes