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

Contacts

Get contacts for a chatbot

Pull every contact tied to a chatbot. Each contact carries standard fields plus custom attributes you’ve defined.

Endpoint

text
GET https://services.chatmount.co/v2/chatbots/:chatbotId/contacts

Query parameters

  • page (integer, ≥ 1)
  • per_page (integer, 10–1000)

Response

json
{
  "message": "Success",
  "data": [
    {
      "id": "contact_internal_123",
      "external_id": "user_123",
      "name": "John Doe",
      "email": "john@example.com",
      "phonenumber": "+1234567890",
      "stripe_accounts": [
        { "label": "main", "stripe_id": "cus_123abc456", "stripe_email": "john@example.com" }
      ],
      "custom_attributes": {
        "department": "Sales",
        "subscription_tier": "Premium"
      },
      "created_at": 1704067200,
      "updated_at": 1704153600
    }
  ],
  "total": 250,
  "pages": {
    "page": 1,
    "per_page": 100,
    "total_pages": 3
  }
}

Related