Webhooks

Webhooks are one way that apps can send automated messages or information to other apps, all you need to do is to define the URL where you want to receive these messages and the trigger of when you want to receive them.

 

You can use webhooks to build your own Unifonic powered chat clients, to integrate more deeply with your favorite CRM, or to build a bot. A webhook can only operate within the scope of a single unifonic app.

 

Webhook triggers

 

When a webhook trigger is triggered, a POST request will be made to the URL configured in your webhook object along with a JSON payload specific for the event type. Triggers are specified in an optional triggers array in the request body. If triggers are not specified, the webhook will be configured with the message trigger by default.

 

Supported Triggers

 

Received Messages

A new message is received from your customer, message body is included in the json.

Sent Messages

Whenever a message status is sent.

Delivered Messages 

Whenever a message status is delivered.

Read Messages

When the customer opens the message.

Rejected Messages

When the channel rejected the message for any of the rejection reasons.

 

Setup your Webhooks

Select the Webhooks tab then select Add New.

 

mceclip0.png

 

Have more questions? Submit a request

Comments

Powered by Zendesk