diff --git a/src/pages/messaging/agent-chat-api/changelog/index.mdx b/src/pages/messaging/agent-chat-api/changelog/index.mdx index 459b3b660..587bd4ed6 100644 --- a/src/pages/messaging/agent-chat-api/changelog/index.mdx +++ b/src/pages/messaging/agent-chat-api/changelog/index.mdx @@ -59,6 +59,7 @@ The developer preview version provides a preview of the upcoming changes to the - There are new pushes: - [**ticket_created**](/messaging/agent-chat-api/rtm-pushes/#ticket_created) - [**ticket_deleted**](/messaging/agent-chat-api/rtm-pushes/#ticket_deleted) + - [**customer_statistics_updated**](/messaging/agent-chat-api/rtm-pushes/#customer_statistics_updated) ### Status diff --git a/src/pages/messaging/agent-chat-api/rtm-pushes/index.mdx b/src/pages/messaging/agent-chat-api/rtm-pushes/index.mdx index 42e0c3371..f8d6463a3 100644 --- a/src/pages/messaging/agent-chat-api/rtm-pushes/index.mdx +++ b/src/pages/messaging/agent-chat-api/rtm-pushes/index.mdx @@ -35,7 +35,7 @@ Here's what you need to know about **pushes**: | **Events** | [`incoming_event`](#incoming_event) [`event_deleted`](#event_deleted) [`event_updated`](#event_updated) [`incoming_rich_message_postback`](#incoming_rich_message_postback) | | **Properties** | [`chat_properties_updated`](#chat_properties_updated) [`chat_properties_deleted`](#chat_properties_deleted) [`thread_properties_updated`](#thread_properties_updated) [`thread_properties_deleted`](#thread_properties_deleted) [`event_properties_updated`](#event_properties_updated) [`event_properties_deleted`](#event_properties_deleted) | | **Thread tags** | [`thread_tagged`](#thread_tagged) [`thread_untagged`](#thread_untagged) | -| **Customers** | [`incoming_customers`](#incoming_customers) [`incoming_customer`](#incoming_customer) [`customer_updated`](#customer_updated) [`customer_page_updated`](#customer_page_updated) [`customer_banned`](#customer_banned) [`customer_transferred`](#customer_transferred) [`customer_left`](#customer_left) [`subscribed_customers_totals_updated`](#subscribed_customers_totals_updated) [`ticket_created`](#ticket_created) [`ticket_deleted`](#ticket_deleted) | +| **Customers** | [`incoming_customers`](#incoming_customers) [`incoming_customer`](#incoming_customer) [`customer_updated`](#customer_updated) [`customer_page_updated`](#customer_page_updated) [`customer_statistics_updated`](#customer_statistics_updated) [`customer_banned`](#customer_banned) [`customer_transferred`](#customer_transferred) [`customer_left`](#customer_left) [`subscribed_customers_totals_updated`](#subscribed_customers_totals_updated) [`ticket_created`](#ticket_created) [`ticket_deleted`](#ticket_deleted) | | **Status** | [`routing_status_set`](#routing_status_set) [`agent_disconnected`](#agent_disconnected) | | **Configuration** | [`agent_created`](#agent_created) [`agent_approved`](#agent_approved) [`agent_updated`](#agent_updated) [`agent_suspended`](#agent_suspended) [`agent_unsuspended`](#agent_unsuspended) [`agent_deleted`](#agent_deleted) [`auto_accesses_updated`](#auto_accesses_updated) [`bot_created`](#bot_created) [`bot_updated`](#bot_updated) [`bot_deleted`](#bot_deleted) [`group_created`](#group_created) [`group_updated`](#group_updated) [`group_deleted`](#group_deleted) [`tag_created`](#tag_created) [`tag_deleted`](#tag_deleted) [`tag_updated`](#tag_updated) [`groups_status_updated`](#groups_status_updated) [`license_properties_updated`](#license_properties_updated) [`group_properties_updated`](#group_properties_updated) | | **Other** | [`events_marked_as_seen`](#events_marked_as_seen) [`incoming_sneak_peek`](#incoming_sneak_peek) [`incoming_thinking_indicator`](#incoming_thinking_indicator) [`incoming_typing_indicator`](#incoming_typing_indicator) [`incoming_multicast`](#incoming_multicast) [`chat_unfollowed`](#chat_unfollowed) [`queue_positions_updated`](#queue_positions_updated) [`customer_unfollowed`](#customer-unfollowed) [`thread_summary_set`](#thread-summary-set) | @@ -628,7 +628,7 @@ Informs that customer's data changed. The push payload contains the updated fiel ### `customer_page_updated` -Informs that a Customer moved to another page of the website. +Informs that a customer moved to another page of the website. @@ -644,9 +644,38 @@ Informs that a Customer moved to another page of the website. +### `customer_statistics_updated` + +Informs that the customer's statistics were updated. + + + +```json +{ + "customer_id": "b7eff798-f8df-4364-8059-649c35c9ed0c", + "statistics": { + "chats_count": 9, + "threads_count": 13, + "visits_count": 14, + "page_views_count": 15, + "greetings_accepted_count": 0, + "greetings_converted_count": 0, + "tickets_count": 6, + "tickets_inbox_count": 6, + "tickets_archive_count": 0, + "tickets_spam_count": 0, + "tickets_trash_count": 0, + "orders_count": 15, + "last_visit_started_at": "2025-10-17T13:37:15Z" + } +} +``` + + + ### `customer_banned` -Informs that a Customer was banned for a specified number of days. +Informs that a customer was banned for a specified number of days. @@ -681,7 +710,7 @@ Informs that a customer is no longer available to the agent. ### `customer_left` -Informs that a Customer left the tracked website. +Informs that a customer left the tracked website. @@ -719,6 +748,7 @@ Informs that a ticket was created for a tracked customer. { "customer_id": "b7eff798-f8df-4364-8059-649c35c9ed0c", "ticket_id": "0c04cb99-817a-4935-9d62-137c89a74388", + "silo": "inbox", "created_at": "2019-12-05T07:27:08.820000Z" } ``` @@ -1300,7 +1330,7 @@ Informs that one of the chat users (an Agent or a Bot Agent) is currently typing ### `incoming_sneak_peek` -Informs about the message a Customer is currently typing. The push payload contains the sneak peek object. +Informs that a customer is currently typing a message. The push payload contains the sneak peek object. diff --git a/src/pages/messaging/agent-chat-api/v3.7/rtm-pushes/index.mdx b/src/pages/messaging/agent-chat-api/v3.7/rtm-pushes/index.mdx index 99a01b7e5..a53f54572 100644 --- a/src/pages/messaging/agent-chat-api/v3.7/rtm-pushes/index.mdx +++ b/src/pages/messaging/agent-chat-api/v3.7/rtm-pushes/index.mdx @@ -35,7 +35,7 @@ Here's what you need to know about **pushes**: | **Events** | [`incoming_event`](#incoming_event) [`event_deleted`](#event_deleted) [`event_updated`](#event_updated) [`incoming_rich_message_postback`](#incoming_rich_message_postback) | | **Properties** | [`chat_properties_updated`](#chat_properties_updated) [`chat_properties_deleted`](#chat_properties_deleted) [`thread_properties_updated`](#thread_properties_updated) [`thread_properties_deleted`](#thread_properties_deleted) [`event_properties_updated`](#event_properties_updated) [`event_properties_deleted`](#event_properties_deleted) | | **Thread tags** | [`thread_tagged`](#thread_tagged) [`thread_untagged`](#thread_untagged) | -| **Customers** | [`incoming_customers`](#incoming_customers) [`incoming_customer`](#incoming_customer) [`customer_updated`](#customer_updated) [`customer_page_updated`](#customer_page_updated) [`customer_banned`](#customer_banned) [`customer_transferred`](#customer_transferred) [`customer_left`](#customer_left) [`subscribed_customers_totals_updated`](#subscribed_customers_totals_updated) [`ticket_created`](#ticket_created) [`ticket_deleted`](#ticket_deleted) | +| **Customers** | [`incoming_customers`](#incoming_customers) [`incoming_customer`](#incoming_customer) [`customer_updated`](#customer_updated) [`customer_page_updated`](#customer_page_updated) [`customer_statistics_updated`](#customer_statistics_updated) [`customer_banned`](#customer_banned) [`customer_transferred`](#customer_transferred) [`customer_left`](#customer_left) [`subscribed_customers_totals_updated`](#subscribed_customers_totals_updated) [`ticket_created`](#ticket_created) [`ticket_deleted`](#ticket_deleted) | | **Status** | [`routing_status_set`](#routing_status_set) [`agent_disconnected`](#agent_disconnected) | | **Configuration** | [`agent_created`](#agent_created) [`agent_approved`](#agent_approved) [`agent_updated`](#agent_updated) [`agent_suspended`](#agent_suspended) [`agent_unsuspended`](#agent_unsuspended) [`agent_deleted`](#agent_deleted) [`auto_accesses_updated`](#auto_accesses_updated) [`bot_created`](#bot_created) [`bot_updated`](#bot_updated) [`bot_deleted`](#bot_deleted) [`canned_response_created`](#canned_response_created) [`canned_response_updated`](#canned_response_updated) [`canned_response_deleted`](#canned_response_deleted) [`group_created`](#group_created) [`group_updated`](#group_updated) [`group_deleted`](#group_deleted) [`tag_created`](#tag_created) [`tag_deleted`](#tag_deleted) [`tag_updated`](#tag_updated) [`groups_status_updated`](#groups_status_updated) [`license_properties_updated`](#license_properties_updated) [`group_properties_updated`](#group_properties_updated) | | **Other** | [`events_marked_as_seen`](#events_marked_as_seen) [`incoming_sneak_peek`](#incoming_sneak_peek) [`incoming_thinking_indicator`](#incoming_thinking_indicator) [`incoming_typing_indicator`](#incoming_typing_indicator) [`incoming_multicast`](#incoming_multicast) [`chat_unfollowed`](#chat_unfollowed) [`queue_positions_updated`](#queue_positions_updated) [`customer_unfollowed`](#customer-unfollowed) [`thread_summary_set`](#thread-summary-set) | @@ -628,7 +628,7 @@ Informs that customer's data changed. The push payload contains the updated fiel ### `customer_page_updated` -Informs that a Customer moved to another page of the website. +Informs that a customer moved to another page of the website. @@ -644,9 +644,38 @@ Informs that a Customer moved to another page of the website. +### `customer_statistics_updated` + +Informs that the customer's statistics were updated. + + + +```json +{ + "customer_id": "b7eff798-f8df-4364-8059-649c35c9ed0c", + "statistics": { + "chats_count": 9, + "threads_count": 13, + "visits_count": 14, + "page_views_count": 15, + "greetings_accepted_count": 0, + "greetings_converted_count": 0, + "tickets_count": 6, + "tickets_inbox_count": 6, + "tickets_archive_count": 0, + "tickets_spam_count": 0, + "tickets_trash_count": 0, + "orders_count": 15, + "last_visit_started_at": "2025-10-17T13:37:15Z" + } +} +``` + + + ### `customer_banned` -Informs that a Customer was banned for a specified number of days. +Informs that a customer was banned for a specified number of days. @@ -681,7 +710,7 @@ Informs that a customer is no longer available to the agent. ### `customer_left` -Informs that a Customer left the tracked website. +Informs that a customer left the tracked website. @@ -719,6 +748,7 @@ Informs that a ticket was created for a tracked customer. { "customer_id": "b7eff798-f8df-4364-8059-649c35c9ed0c", "ticket_id": "0c04cb99-817a-4935-9d62-137c89a74388", + "silo": "inbox", "created_at": "2019-12-05T07:27:08.820000Z" } ``` @@ -1352,7 +1382,7 @@ Informs that one of the chat users (an Agent or a Bot Agent) is currently typing ### `incoming_sneak_peek` -Informs about the message a Customer is currently typing. The push payload contains the sneak peek object. +Informs that a customer is currently typing a message. The push payload contains the sneak peek object.