Dotsignal Web Hooks

To subscribe your site to our Web Hooks, configure your site with a Webhook URL like in the image below. You can also add a Webhook URL to your site later, by clicking the edit icon next to your site name.

 Screenshot_2017-03-15_17.37.46.png

Events that will trigger a call to your web hook URL:

  1. Consumer has initiated a new chat
  2. Consumer has requested a new agent
  3. Consumer joined room
  4. Notify team of new conversation
  5. Notify team captain that no one responded
  6. Notify team user of new conversation
  7. Team User accepted conversation
  8. Team User notified the conversation was already claimed
  9. Team User sent message to consumer
  10. Consumer stopped responding
  11. Consumer stopped responding 2nd notification. Must reconnect to reengage.
  12. Trying to reconnect consumer to same team user
  13. Consumer sent message to team user
  14. Team User viewed channel
  15. Team User times out

An example of the JSON data that will be sent to your web hook URL:

{
     "unix_timestamp": 1489611696,
     "obj": {
          "host": "chat.dotsignal.com",
          "id": "Dyf5wa7Z4bZTPmiuAAAB",
          "initialized": true,
          "mobilePhone": "8015555555",
          "msg": "Please help me",
          "name": "John Doe",
          "pageTitle": "Dotsignal Chat Demo",
          "pageURL": "uphomerealty.com",
          "reassign": false,
          "reconnect": false,
          "room": "Dyf5wa7Z4bZTPmiuAAAB",
          "rootURL": "uphomerealty.com",
          "teamID": 1,
          "sourceID": 49,
          "roomID": 34,
          "roomUserID": 113
     },
     "event": "_TEAM-USER-NOTIFY_",
     "eventDescription": "Notify team user of new conversation",
     "eventData": "John Doe:Please help me dotsig.io/c/34/E4yZo8A6",
     "userID": 46381
}

unix_timestamp: When the event took place
obj: The data that was sent from the client to the chat server
userID: The user that either took the action that triggered the event, or the user that received the data contained in the event

Have more questions? Submit a request