Manage Outgoing WebHooks for Conversations

Manage Outgoing WebHooks for Conversations

Written by Remi Delhaye
Last update: Thursday, Jan 02, 2025

Create an Outgoing WebHook

  • Go to your Polaria account and click on Integrations (you can also follow this link)

  • In the Others tab, you'll find an integration named Custom Webhooks.

  • Choose an event between New Conversation and Conversation Ended, add your Endpoint URL, and Save. Note that a test WebHook will be sent to this URL. This test WebHook will contain your unique WebHook Security Token to identify Polaria servers.

"Test" Event

WebHook content:

{  "event": "test",  "token": "a-unique-token"}

"New Conversation" Event

WebHook content:

{  "event": "new_conversation",  "token": "a-unique-token",  "payload": {    "id": 12345,    "started_at": "2016-12-06T15:20:11.000Z",    "trigger": {      "conversation_started_by_trigger": false,      "trigger_id": null    },    "user_group":{      "conversation_in_a_user_group": true,      "user_group_id": 123    },    "contact": {      "name": "Remi Delhaye",      "email": "[email protected]",      "language": "en-US",      "last_visited_page": "polaria.com",      "platform": "OS X (10.11.6)",      "browser": "Chrome (52.0.2743.116)",      "city": "San Francisco, CA",      "country": "US",      "referrer": "https://google.com",      "pages_visited_count": 123,      "custom_informations":{        "user_id": 1234567,        "firstname": "Rémi",        "lastname": "Delhaye",        "team_id": 1      }    }  }}

Outgoing WebHooks

4 articles in this category.
Written by Remi Delhaye.