Create a new webhook in the workspace.
Bearer token for the current workspace. Can be retrieved from the Workspace's settings page.
Webhooks are used to notify you when sync alerts are raised or resolved, or when certain lifecycle events happen during a sync run.
The name of the webhook
"My Webhook"
The endpoint the webhook will ping when an event occurs in Census. Must be a secure (HTTPS) site.
"https://mycompany.com/census-sync-alerts"
An optional description of the webhook
"Webhook for failed syncs "
The events that the webhook should alert on. By default all events are alerted on unless otherwise specified.
sync.alert.raised, sync.alert.resolved, sync.triggered, sync.started, sync.completed, sync.success, sync.failed ["sync.alert.raised", "sync.alert.resolved"]