Customers
- The Customer data structure has a new
cartsfield, an array of Cart objects. - The customer_updated push now includes cart data.
- The Update Customer (Web & RTM) method now allows clearing the values of
name,email,phone_number, andaddresscomponents by providing an empty string as the new field value.
Configuration
- There are new pushes:
canned_response_created,canned_response_updated,canned_response_deleted.
Chats
- The List Archives method has new filters:
chat_idsandagent_types. - The List Chats and Login (RTM) methods’ response field
chats_summarywas renamed tochats_info. - The Chat summary data structure was renamed to Chat info, and its field
last_thread_summarywas renamed tolast_thread_info. last_event_per_typewas moved insidelast_thread_info.
Other
- The
customers.idsrecipient type was removed from the Multicast method across all API versions.
Customers
- The Update Customer (Web & RTM) method now allows clearing the values of
name,email, andaddresscomponents by providing an empty string as the new field value.
Chats
- The List Chats (Web & RTM) method’s response field
chats_summarywas renamed tochats_info. last_event_per_typewas moved insidelast_thread_info.
Customers
- The Update Customer Page RTM method’s response now includes an optional
groupsfield when the customer’s group assignment changes as a result of the call.
Other
- The Get Predicted Agent method was removed and replaced by a new Request Welcome Message method.
- There’s a new push:
incoming_welcome_message.
Allowed domains
- New methods for managing allowed domains: Add Allowed Domain, List Allowed Domains, Delete Allowed Domain.
Canned responses
- New methods for managing canned responses: Create Canned Response, Update Canned Response, List Canned Responses, Delete Canned Response.
Customer bans
- A new method, Ban Customer, was added.
Greetings
- The Create Greeting method has a new greeting rule type:
url_match_page_view_number.
Translations
- New methods for managing translations: Update Translations, List Translations.
Customer properties
- Three new methods for managing customer property definitions: Create customer property definition, Update customer property definition, List customer property definitions.
Sales
- There’s a new method, Abandoned Carts, which returns the number of abandoned carts and their total value during the specified period.
Stats
- There’s a new method, Visitor Domains, which returns the top domains from which visitors accessed your website along with their page view counts.
Chats
- The Get Chat method now validates access to the requested thread.
- The List Chats filter
include_activewas replaced withactive, which allows filtering active-only, inactive-only, or both. - The List Archives method has new filters:
customer_id,customer_email,chat_ids,agent_types, andecommerce_sales. - The Thread data structure has a new
customer_visitfield. - The Rich Message data structure has a new
ecommercefield. - The Message data structure has a new
postback.ecommercefield.
Events
- A new System event structure was added.
- A new Deleted Event structure was added.
- There’s a new method: Send Event Preview (Web & RTM).
Customers
- The Create Customer and List Customers methods were removed.
- The Subscribe Customers and Unsubscribe Customers RTM methods were added.
- The
last_visitfield was renamed tovisitin the Customer data structure. - The Customer data structure now includes ticket information (when available), phone number, omnichannel data, and address information.
- The Update Customer method has new fields:
phone_number,omnichannel, andaddress. - The
omnichannelfield now supports WhatsApp data:id,name, andphone_number. - The Customer data structure has a new
cartsfield containing an array of Cart objects. - The customer_updated push now includes cart data.
- The Customer data structure has a new
customer_propertiesfield containing a map of Customer Property objects.
Status
- There’s a new RTM method: Update Session.
Bots
- The
X-Author-Idauthorization header was removed. Bots must now use Bot Authorization Tokens.
Pushes
- The
agent_disconnectedpush has a new disconnection reason:role_permissions_changed. - New pushes:
event_deleted,subscribed_customers_totals_updated,ticket_created,ticket_deleted,customer_statistics_updated,thread_summary_set,incoming_error,incoming_thinking_indicator,customer_properties_values_updated,customer_property_definition_created,customer_property_definition_updated. - The Send Rich Message Postback method and
incoming_rich_message_postbackpush have new fields:button_type,button_value,ecommerce.
Other
- Thread summaries are now supported. A new method, Request Thread Summary, was added. Responses for Get Chat, List Archives, and List Threads now return a
summaryobject for summarized threads. - There’s a new method: Send Thinking Indicator (Web & RTM), with a corresponding
incoming_thinking_indicatorpush.
Config
- The Get Dynamic Configuration response has a new format to support non-LiveChat widgets as default widgets.
Events
- A new System event structure was added.
- There’s a new method: Delete Event (Web & RTM).
- The Rich Message data structure has a new
ecommercefield. - The Message data structure has a new
postback.ecommercefield.
Customers
- The
customer_page_updatedpush was removed. - The Customer data structure now includes phone number, omnichannel data, and address information.
- The Update Customer method has new fields:
omnichannelandaddress. - The
omnichannelfield now supports WhatsApp data:id,name, andphone_number. - The Login RTM method response has a new
customer.addressfield. - The Update Customer Page RTM method’s response now includes an optional
groupsfield when the customer’s group assignment changes as a result of the call.
Pushes
- New pushes:
event_deleted,incoming_event_preview,incoming_thinking_indicator,incoming_welcome_message. - The Send Rich Message Postback method and
incoming_rich_message_postbackpush have new fields:button_type,button_value,ecommerce.
Other
- There are two new methods: Send Greeting Button Clicked and Request Welcome Message (Web & RTM).
Agents
- The
avatarproperty was removed from Create Agent. Use Update Account Organization Settings to updateavatar. - The
nameandavatarproperties were removed from Update Agent. Use Update an Account to updatenameand Update Account Organization Settings to updateavatar.
Bots
- The
X-Author-Idmechanism for bot authorization is no longer supported. Bots must now use bot authorization tokens. - Bots have a new
typeproperty.
Customer bans
- New methods for managing customer bans: List Customer Bans, Unban Customer.
Greetings
- New methods: Create Greeting, Update Greeting, Delete Greeting, List Greetings, Get Greeting.
Groups
- The requirement that at least one agent must have the
normalpriority was removed from Create Group.
Other
- There are two new methods: Reactivate Email (to reactivate a bounced email address) and Update Company Details (to update the license’s company details).
- Configuration webhooks now include a new
requesterproperty with details of who triggered the webhook:user_id,client_id, andaccount_id. - New webhooks:
event_deleted,thread_summary_set. - The
incoming_customerwebhook was removed.
- There are four new methods: Unique Visitors, Group Chats Count, Queued Visitors, and Queued Visitors Left.
Methods
- A new method, Request Welcome Message, was added.
- A new method, Send Greeting Button Clicked, was added.
- The Get Predicted Agent method was removed. Its functionality is now part of Request Welcome Message.
Events
- New events:
incoming_welcome_message,incoming_thinking_indicator,incoming_event_preview,identity_changed. - The
customer_page_updatedevent was removed.
Configuration
- A new
tabIdparameter was added toinit()for distinguishing multiple browser tabs from the same customer. startChat()andresumeChat()accept a newwelcomeMessageIdparameter.
General
- Switched to Customer API v3.5.
- Additional types and constants are available for a better development experience.
Methods
- The
licenseIdparameter in theinitmethod was removed. UseorganizationIdinstead. - The
sendTicketFormmethod was removed. Tickets are now handled through the Ticketing API.
Chats
- The List Archives method has a new filter:
customer_countries. - The Get Chat method now validates access to the requested thread.
- There’s a new method: Get License Info (Web).
Status
- The Change Push Notifications method was removed.
- The Login RTM method no longer accepts the
push_notificationsparameter. - The
incoming_multicastpush is no longer sent when group statuses change.
Pushes
- A new push,
groups_status_updated, was added.
Configuration
- New pushes:
tag_created,tag_deleted,tag_updated. - The
work_schedulerfield in theagent_created,agent_updated,bot_created, andbot_updatedpushes has a new format.
General
- There’s a new type of request, batch requests, which allows sending multiple calls of the same method in a single request.
Agents
- List Agents can now filter agents by their
suspendedstatus. - Create Agent, Update Agent, Delete Agent, Suspend Agent, Unsuspend Agent, and Approve Agent now support batch requests.
- List Agents and Get Agent now return the agent’s
account_idand a newlast_logoutfield. - The
work_schedulerparameter in Create Agent, Update Agent, Create Bot, and Update Bot has a new format that allows configuring multiple working hours per day.
Bots
- Create Bot, Update Bot, and Delete Bot now support batch requests.
- A new bot management concept, bot templates, was introduced with four new methods: Create Bot Template, Update Bot Template, Delete Bot Template, List Bot Templates.
- A new bot authorization mechanism, bot authorization tokens, was introduced with three new methods: Issue Bot Token, Reset Bot Secret, Reset Bot Template Secret.
Properties
- List Group Properties was replaced by List Groups Properties, which allows fetching properties for multiple groups at once.
Tags
- New methods for managing tags: Create Tag, Delete Tag, List Tags, Update Tag.
Other
- New methods: List Channels, Check Product Limits for Plan, Get Product Source.
- Get License ID and Get Organization ID were removed.
- New webhooks:
tag_created,tag_deleted,tag_updated. - The
work_schedulerfield inagent_created,agent_updated,bot_created, andbot_updatedwebhooks has a new format. - The
auto_access_added,auto_access_updated, andauto_access_deletedwebhooks were replaced byauto_accesses_updated.
General
- New filters are available in all reports:
filters.customer_countries.values,filters.customer_countries.exclude_values,filters.customer_countries.require_every_value.
Tags
- There’s a new method, Tags Chat Usage, which shows how many chats are marked with each listed tag.
Chats
- The
surveysmethod was renamed to Forms. It shows the number of submitted chat forms along with the count of specific answers.