BetaThe v2 API is in beta — fields and behavior may change without notice. For stable production usage, see the API v1 Reference.

Contacts

Get custom attributes schema

Returns the schema your contacts use — names, types, descriptions, archived flags. Useful before creating or updating contact records.

Endpoint

text
GET https://services.chatmount.co/v2/chatbots/:chatbotId/custom-attributes

Response

json
{
  "message": "Success",
  "data": [
    {
      "name": "department",
      "label": "Department",
      "type": "text",
      "description": "Employee department",
      "archived": false
    }
  ]
}

Type values: text, number, boolean, date.

Related