Webhooks
Webhooks allows you to receive real-time HTTP notifications of changes to specific objects in Socialboards. For example, we could send you a notification when new ticket comes into the system or whenever they reply came to the existing ticket. This prevents you from having to query the API for changes that may or may not have happened.
Make sure you have the appropriate legal basis to collect and process client data before using webhooks.
Objects and Events
There are many types of objects in the Socialboards, such as Ticket objects and Reply objects, so whenever you configure a Webhook you must first choose an object type. Different objects support different events, so make sure you subscribe to events for that object type. Whenever such an event happens, we'll send you a notification.
Notifications are sent to you as HTTP POST requests and contain a JSON payload for that event. For example, let's say you set up a “Ticket” Webhook and subscribed to “Status changed” event. If the ticket’s status is changed from “pending” to “open”, we'll send you a notification that would look like this:
HTTPS Servers
Webhooks are sent using HTTPS, so your server must be able to receive and process HTTPS requests, and it must have a valid TLS/SSL certificate installed. Self-signed certificates are not supported.
Setup
To use Webhooks, you will need to set up an endpoint on a secure (HTTPS) server, then add and configure the Webhooks product in your inbox settings. The rest of these documents explain how to complete both of these steps.
Last updated