TProfile allows you to create webhooks to notify third parties on a number of events that occur within the platform.
Webhook management is available under Platform Settings > Webhooks
Creating/Updating Webhooks
To create a new webhook select the + Add Webhook button or click edit on an existing webhook from the list.
You be presented with a form to complete to details related to the webhook
Webhook Fields
Field | Required | Details |
---|---|---|
URI | Yes | This is the URI that will be called when the webhook is triggered. It should be a fully qualified URI including the protocol. |
Secret | Yes | This field is sent in the headers and allows you to authenticate this request as one that has come from TProfile. You can re-generate this unique field or enter your own value |
Events | Yes | This allows you to trigger a webhook on any number of events, you can select multiple of these |
Content Type | Yes | This is the content type for the request and should match the content field. E.g. Content should be in a JSON format if you choose the application/json value. You can use any of the pre-defined values or enter and select your own customer value |
Headers | No | You can enter any custom headers here in the format defined. |
Content | No | This is the content of the request, you can leave this empty if you wish or enter the content and utilise the placeholders defined here |
Execution History
You can view the execution history for a webhook by selecting the Run History button. This will show you all the executions that have been triggered for that webhook along with the option to view the request body & headers as well as the response body & headers.