Webhooks Overview
Webhooks are a way for Govly to notify your applications of events that happen in your Govly account. The webhooks are sent as HTTP POST requests to a URL that you specify. You can configure webhooks from Govly’s API integration dashboard.Payload Format
Webhooks from Govly will include a JSON payload that is dependent on the event type. However, all payloads will have the following shape by default:Custom Payload Templates
You can create custom templates for your webhook payloads. This allows you to customize the data so that it better fits your destination. Here is an example of a custom template for a webhook based Slack integration:Headers
By default, webhooks from Govly will be sent with the following headers:| Header | Description |
|---|---|
Govly-Webhook-Signature | SHA2 hex digest of your Webhook Signature Key and the JSON payload |
User-Agent | govly-webhooks/1.0 |
Content-Type | application/json |