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:
"success""error"
data
array
name
stringrequired
The name of the webhook
example:
My Webhook
description
string
An optional description of the webhook
example:
Webhook for failed syncs
events
array
The events that the webhook should alert on. By default all events are alerted on unless otherwise specified.
example:
[
"sync.alert.raised",
"sync.alert.resolved"
]
type:
string
endpoint
stringrequired
The endpoint the webhook will ping when an event occurs in Census. Must be a secure (HTTPS) site.
example:
https://mycompany.com/census-sync-alerts
401
status
integer
HTTP status code.
enum:
"401"
403
status
integer
HTTP status code.
enum:
"403"
message
string
Error message.
example:
The feature you're trying to use is not available for your organization.
{ "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" } ] }