Webhooks
List webhook event types
Returns the event types a webhook can subscribe to. webhook.test is not listed: it is sent only by the test route and reaches that webhook whatever its events.
X-Organization-IdstringobjectstringrequireddataarrayrequiredShow child attributes
typestringrequireddescriptionstringrequiredsincestringrequiredList webhooks
Returns every webhook of the organization, newest first. Not paginated: the plan caps an organization at 10 (Team) or 25 (Enterprise) webhooks. Any member can read.
X-Organization-IdstringobjectstringrequireddataarrayrequiredShow child attributes
idstring · uuidrequiredobjectstringrequiredurlstring · urirequireddescriptionstringrequirednullableeventsarray of stringrequiredstatusstringrequireddisabledReasonstringrequirednullablesecretSuffixstringrequiredorganizationstring · uuidrequiredcreatedAtstring · date-timerequiredupdatedAtstring · date-timerequiredCreate a webhook
Creates an enabled webhook and returns its signing secret. The secret is returned here and by rotate-secret only; later reads show its last characters in secretSuffix. The URL must be https and resolve to a public address. Admins only.
X-Organization-Idstringurlstring · urirequireddescriptionstringeventsarray of stringrequiredidstring · uuidrequiredobjectstringrequiredurlstring · urirequireddescriptionstringrequirednullableeventsarray of stringrequiredstatusstringrequireddisabledReasonstringrequirednullablesecretSuffixstringrequiredorganizationstring · uuidrequiredcreatedAtstring · date-timerequiredupdatedAtstring · date-timerequiredsecretstringrequiredGet a webhook
Returns one webhook. Another organization's webhook is 404. Any member can read.
webhookIdstring · uuidrequiredX-Organization-Idstringidstring · uuidrequiredobjectstringrequiredurlstring · urirequireddescriptionstringrequirednullableeventsarray of stringrequiredstatusstringrequireddisabledReasonstringrequirednullablesecretSuffixstringrequiredorganizationstring · uuidrequiredcreatedAtstring · date-timerequiredupdatedAtstring · date-timerequiredUpdate a webhook
Changes the given fields only. status: enabled also clears an automatic disable and its failure streak. While webhooks are not in the plan, only \{"status": "disabled"\} is accepted. Admins only.
webhookIdstring · uuidrequiredX-Organization-Idstringurlstring · uridescriptionstringeventsarray of stringstatusstringidstring · uuidrequiredobjectstringrequiredurlstring · urirequireddescriptionstringrequirednullableeventsarray of stringrequiredstatusstringrequireddisabledReasonstringrequirednullablesecretSuffixstringrequiredorganizationstring · uuidrequiredcreatedAtstring · date-timerequiredupdatedAtstring · date-timerequiredDelete a webhook
Deletes the webhook. Its pending messages are canceled and are not sent; its message history is deleted with it. Allowed while webhooks are not in the plan. Admins only.
webhookIdstring · uuidrequiredX-Organization-IdstringRotate a webhook's secret
Replaces the signing secret and returns the new one. During expireCurrentIn seconds (default 86400) each message carries two signatures, new secret first, so receivers can switch without dropping messages. 0 stops the old secret, and any previous one, now. A second rotation while a previous secret is still valid is refused unless expireCurrentIn is 0. Admins only.
webhookIdstring · uuidrequiredX-Organization-IdstringexpireCurrentInintegeridstring · uuidrequiredobjectstringrequiredurlstring · urirequireddescriptionstringrequirednullableeventsarray of stringrequiredstatusstringrequireddisabledReasonstringrequirednullablesecretSuffixstringrequiredorganizationstring · uuidrequiredcreatedAtstring · date-timerequiredupdatedAtstring · date-timerequiredsecretstringrequiredSend a test event
Sends a webhook.test event to this webhook only, even if it is disabled or its events do not match. Returns the queued message; follow it on the messages routes. At most 10 per minute per webhook. Admins only.
webhookIdstring · uuidrequiredX-Organization-IdstringOne event's delivery to one webhook. Admins also get attemptCount, lastResponseStatus, nextAttemptAt and event; the single-message GET adds payload and attempts.
idstring · uuidrequiredobjectstringrequiredwebhookstring · uuidrequiredtypestringrequiredstatusstringrequiredcreatedAtstring · date-timerequiredattemptCountintegerlastResponseStatusintegernullablenextAttemptAtstring · date-timenullableeventstring · uuidpayloadobjectattemptsarrayShow child attributes
idstring · uuidrequiredobjectstringrequiredattemptedAtstring · date-timerequiredresponseStatusintegerrequirednullabledurationMsintegerrequirederrorstringrequirednullableresponseBodystringrequirednullableList a webhook's messages
Returns the webhook's messages, newest first. Members see id, type, status and time; admins also see the delivery counters and the event id. Messages are kept for 30 days.
webhookIdstring · uuidrequiredstatusstringtypestringcreatedAfterstring · date-timecreatedBeforestring · date-timelimitintegercursorstringX-Organization-IdstringobjectstringrequireddataarrayrequiredShow child attributes
idstring · uuidrequiredobjectstringrequiredwebhookstring · uuidrequiredtypestringrequiredstatusstringrequiredcreatedAtstring · date-timerequiredattemptCountintegerlastResponseStatusintegernullablenextAttemptAtstring · date-timenullableeventstring · uuidpayloadobjectattemptsarrayShow child attributes
idstring · uuidrequiredobjectstringrequiredattemptedAtstring · date-timerequiredresponseStatusintegerrequirednullabledurationMsintegerrequirederrorstringrequirednullableresponseBodystringrequirednullablenextCursorstringGet a webhook message
Returns one message. Admins also get the signed payload and every attempt, oldest first.
webhookIdstring · uuidrequiredmessageIdstring · uuidrequiredX-Organization-IdstringOne event's delivery to one webhook. Admins also get attemptCount, lastResponseStatus, nextAttemptAt and event; the single-message GET adds payload and attempts.
idstring · uuidrequiredobjectstringrequiredwebhookstring · uuidrequiredtypestringrequiredstatusstringrequiredcreatedAtstring · date-timerequiredattemptCountintegerlastResponseStatusintegernullablenextAttemptAtstring · date-timenullableeventstring · uuidpayloadobjectattemptsarrayShow child attributes
idstring · uuidrequiredobjectstringrequiredattemptedAtstring · date-timerequiredresponseStatusintegerrequirednullabledurationMsintegerrequirederrorstringrequirednullableresponseBodystringrequirednullableResend a webhook message
Sends the message again with the same id and payload. A succeeded or failed message gets one more attempt; a pending one is attempted now instead of at its next retry. At most 20 resends per message, within 29 days of the event, and 60 per minute per webhook. Admins only.
webhookIdstring · uuidrequiredmessageIdstring · uuidrequiredX-Organization-IdstringOne event's delivery to one webhook. Admins also get attemptCount, lastResponseStatus, nextAttemptAt and event; the single-message GET adds payload and attempts.
idstring · uuidrequiredobjectstringrequiredwebhookstring · uuidrequiredtypestringrequiredstatusstringrequiredcreatedAtstring · date-timerequiredattemptCountintegerlastResponseStatusintegernullablenextAttemptAtstring · date-timenullableeventstring · uuidpayloadobjectattemptsarrayShow child attributes
idstring · uuidrequiredobjectstringrequiredattemptedAtstring · date-timerequiredresponseStatusintegerrequirednullabledurationMsintegerrequirederrorstringrequirednullableresponseBodystringrequirednullable