Step 3: Create a Content Webhook

As mentioned briefly in the introduction, Content Webhooks allow users to receive webhook messages based on the data configured for a Content Endpoint. In order to create a Content Webhook, you should first configure the relevant Content Endpoint, which contains the data you are interested in receiving updates for.

The Content Webhook will send a message to the provided webhook destination whenever there is an update to any of the fields included in the Content Endpoint configuration.

Note: If you only wish to use a Content Endpoint for a Webhook, there is no need to index any fields (within the fieldIndexes property), since you will not need to query the endpoint.

Once you have configured the Content Endpoint which contains the data you would like to receive via webhook, you’ll simply need to go through the standard “Add Webhook Flow”.

  1. Navigate to Developer > Developer Console in the navigation bar and select the relevant App.
  2. Select the Webhooks tab.
  3. Click Add a Webhook and select Content as your webhook type.
  4. Select the relevant Content Endpoint.
  5. Complete your configuration.

You should now receive messages at the provided URL whenever any of the data included in the selected Content endpoint changes!