List Webhooks
Request schema
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Http + 1.1
GET
https://app.getcensus.com/api/v1/webhooks
GET /api/v1/webhooks HTTP/1.1 Authorization: Bearer REPLACE_BEARER_TOKEN Host: app.getcensus.com
Responses
200
Successfully retrieved the list of workspace webhooks.
401
Invalid credentials for the requested resource.
403
The feature you're trying to use is not available for your organization.
200
status
string
The outcome of the fetch request
enum:
data
array
name
stringrequired
The name of the webhook
example:
description
string
An optional description of the webhook
example:
events
array
The events that the webhook should alert on. By default all events are alerted on unless otherwise specified.
example:
type:
endpoint
stringrequired
The endpoint the webhook will ping when an event occurs in Census. Must be a secure (HTTPS) site.
example:
401
status
integer
HTTP status code.
enum:
403
status
integer
HTTP status code.
enum:
message
string
Error message.
example:
{ "status": "success", "data": [ { "name": "My Webhook", "description": "Webhook for failed syncs ", "events": [ "sync.alert.raised", "sync.alert.resolved" ], "endpoint": "https://mycompany.com/census-sync-alerts" } ] }