API Online Agents
A simple API to get all the online Agents of ou tawk.to chat, to show in our website like :
if the user * is online, show a green image and his name, and if the user * is offline, show a red image and his name...
Sorry for my english, I'm french...

Hi,
Thank you for choosing tawk.to and for reaching out.
Our JavaScript API documentation provides a flexible set of methods that may work for your web projects.
You can check our JavaScript documentation here: https://developer.tawk.to/jsapi/.
If you have any questions or require assistance, we invite you to reach out on our 24/7 support line. Our live agents are always available to assist you.
If you have any other questions, require assistance, or just want to talk to someone at tawk.to, here is our calendar link: https://calendly.com/tawk-to-support/tawk-to-customer-support. We're happy to help!
-
Admintawk.to (top bird!, tawk.to) commented
Hi,
Thank you for choosing tawk.to and for reaching out.
Our JavaScript API documentation provides a flexible set of methods that may work for your web projects.
You can check our JavaScript documentation here: https://developer.tawk.to/jsapi/.
If you have any questions or require assistance, we invite you to reach out on our 24/7 support line. Our live agents are always available to assist you.
Alternatively, you can reach me here at sienna.rubio@tawk.to or book a call here: https://calendly.com/siennarubio/30min
-
Thomas Richter commented
Yes, we would like to show our visitors which agent is currently available. Some JS-API for that would be great.
-
Anonymous commented
so...where are we with this ? would be good to be able to get the name of the agent that responded to the chat window as well
-
Rein van 't Veer commented
Make an API available so that monitoring systems can check how many agents are available at any given time.
Or: setup a notification system that sends an email when there are no agents available.
Now it happens too often that all our agents are offline and I would like to prevent that from happening -
Anonymous commented
Agree! Will this feature make the roadmap anytime soon?
-
Anonymous commented
Upvote! Please add this feature if possible.
-
David commented
we also need the same for departments.
agentCount('Finance')
-
David commented
Agreed. Easy feature to implement in the API - and a standard feature of other systems. Something like
isAgentOnline('john.smith@abccorp.com')
-
Anonymous commented
Condition to check if there are agents online
-
Anonymous commented
i agree is swag
-
Anonymous commented
This would make it possible to display different text and links throughout the website, like "Chat with us" which would open the tawk chat when an Agent is online, or "Leave a message" which would open a contact form or go to the contact page when no agent is online and tawk is hidden.