Setup
To configure a static webhook destination, specify the Webhook URL and Authorization type in the webhook integration setup page.Profile Requirements
To deliver an HTTP request, Courier must be provided with a destination.Dynamic Destination
If you need to specify the webhook destination on a per-recipient basis, choose “Dynamic Destination” and pass the information in the recipient profile aswebhook.
Authentication
The webhooks provider supports basic and bearer authentication. Setauthentication.mode to basic or bearer and provide the credentials. Authentication defaults to none if not provided.
Expanded Profile
You can control what profile information is included in the request payload by settingprofile to either limited or expanded. The default is limited, which only includes profile data provided when the send API was called. Setting expanded includes profile data merged from the profile database.
Request Payload
Based on how the profile is configured, the webhook provider sends the following payload using what was passed into the send method.Overrides
You can use a provider override to replace what Courier sends to the destination. Theurl, method, headers, and body fields are all overridable.