Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2022-05-05 15:54:05

Roschaaf
New member
Registered: 2022-05-05
Posts: 1

Catch 'sendmessage' trough javascript API/ webhook?

Is there a hook/ (javascript)API to catch visitor sending his message? We deduct one credit per message in chat. For now we're working with TawkTo and their javascript API, but we wanna switch to Live Helper Chat for this.

Offline

#2 2022-05-06 08:18:50

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Catch 'sendmessage' trough javascript API/ webhook?

Hi, thank you for your message and welcome!

Try to see if this link helps: https://doc.livehelperchat.com/docs/dev … /rest-api/
You can always consult the documentation at: https://doc.livehelperchat.com/


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#3 2022-05-10 19:44:56

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Catch 'sendmessage' trough javascript API/ webhook?

I already answered this. You can just listen for webhooks events see https://doc.livehelperchat.com/docs/bot … er-message

Offline

Board footer