• Hosted in Europe
  • GDPR Compliant
  • No Downloads Required

Chat Group Availability API

The Live Chat group availability API makes it possible to check if agents are online for the group. For more information on when a chat button is available, see: Livechat Button Availability. The number of logged on agents will be returned, as well as the number of available open chat lines.

API

 

/api/account_groups/availability

Returns the availability of all groups belonging to the account of the logged on user.

Example

$ curl --basic -u user1:****** https://channel.me/api/group_availability
{"sales": {"online_agents": 2, "open_lines": 3}}

 

/api/account_groups/availability?groups=<name1>[,<name2>]

Returns the availability information of the groups with specified names.

Example

$ curl --basic -u user1:****** https://channel.me/api/group_availability?groups=sales
{"sales": {"online_agents": 2, "open_lines": 3}}