cURL
curl --request GET \ --url https://app.getcensus.com/api/v1/webhooks/{webhook_id} \ --header 'Authorization: Bearer <token>'
{ "status": "success", "data": { "name": "My Webhook", "endpoint": "https://mycompany.com/census-sync-alerts", "description": "Webhook for failed syncs ", "events": [ "sync.alert.raised", "sync.alert.resolved" ], "id": 123 } }
Fetch a specific webhook by its ID
Bearer token for the current workspace. Can be retrieved from the Workspace's settings page.
ID of the webhook
Successfully retrieved the webhook
The outcome of the fetch request
success
not_found
error
"success"
Webhooks are used to notify you when sync alerts are raised or resolved, or when certain lifecycle events happen during a sync run.
Show child attributes
Was this page helpful?