Sent when a contact's profile or associated contact data is updated in 3Chat. 3Chat delivers this outbound event to the HTTPS webhook URL configured by the developer in 3Chat Open Platform. Subscribe to BUTLER_VISITOR_UPDATED to receive it.
JSON payload delivered to the configured webhook URL.
Unique identifier for this webhook delivery.
Example:"03703d30-50f2-4103-bdb6-8aa331f36cc5"
Business type code. The value is 15010 for Contact Updated.
Example:15010
Value:15010
The contact record included in a contact webhook event.
Example:
{ "id": "visitor_001", "workSpaceId": "ws_abc", "channelId": "ch_livechat_01", "name": "Wang Xiaoming", "email": "xiaoming.wang@example.com", "phoneNumber": "+86-13800138000", "language": "zh-CN", "accountId": "acc_1001", "lastVisitIp": "203.0.113.45", "browserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)", "fistTouch": "https://example.com/landing?utm=campaign", "lastTouch": "https://example.com/product/1", "externalReferrerLast": "google.com", "landingPageLast": "/product/1", "utmSourceLast": "newsletter", "firstVisitTime": 1690000000, "lastVisitTime": 1690003600, "totalVisits": 5, "externalUserId": "wo56kvDgAA5VmZqvgsX8d-cDmSDXCZXQ", "botUserId": "abc@xinheyun.com", "imBotId": "1688856053740892", "orgId": "6887410937e2124b6d6265a1", "createdTime": 1690000000, "updatedTime": 1690003600, "extendMap": { "preferredContact": "email", "customerTier": "gold" } }
- Mock serverhttps://threechatai.redocly.app/_mock/apis/3chat-webhooks/BUTLER_VISITOR_UPDATED
{ "requestId": "03703d30-50f2-4103-bdb6-8aa331f36cc5", "businessType": 15010, "data": { "id": "visitor_001", "workSpaceId": "ws_abc", "channelId": "ch_livechat_01", "name": "Wang Xiaoming", "email": "xiaoming.wang@example.com", "phoneNumber": "+86-13800138000", "language": "zh-CN", "accountId": "acc_1001", "lastVisitIp": "203.0.113.45", "browserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)", "fistTouch": "https://example.com/landing?utm=campaign", "lastTouch": "https://example.com/product/1", "externalReferrerLast": "google.com", "landingPageLast": "/product/1", "utmSourceLast": "newsletter", "firstVisitTime": 1690000000, "lastVisitTime": 1690003600, "totalVisits": 5, "externalUserId": "wo56kvDgAA5VmZqvgsX8d-cDmSDXCZXQ", "botUserId": "abc@xinheyun.com", "imBotId": "1688856053740892", "orgId": "6887410937e2124b6d6265a1", "createdTime": 1690000000, "updatedTime": 1690003600, "extendMap": { … } } }