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

Contacts

Get a specific contact

Look up a single contact by the external_id you assigned at creation.

Endpoint

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

Path params: chatbotId, contactId (the external ID you set at creation).

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" }
    ],
    "custom_attributes": { "department": "Sales" },
    "created_at": 1704067200,
    "updated_at": 1704153600
  }
}

Related