+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Custom webhook

We can set up a distribution method for our alert. One option is to define a custom web hook to which a payload is sent, when an alert threshold is triggered. We can also specify a set of optional headers, and basic auth credentials if your endpoint is protected by basic auth.

By default, the POST request has a Content-Type of application/json. The following example shows a sample payload.

The POST request includes the following attributes.

Parent topic: Alerts