Connection identifier.
Webhooks
Register, inspect, rotate and receive signed webhook deliveries.
Register or replace a webhook
Register a public HTTPS endpoint for a connection. Omit connection to use the caller's connection. Verify the signature on the raw body and deduplicate by webhook-id. A feed_changed event is a nudge to pull the feed.
Request body required
connectionstringurlstring · urirequiredmax length 2048eventsarray of stringrequiredmin items 1max items 2
Responses
200 Successful response.application/json
request-idServer-generated request ID for support and tracing.Cache-ControlHub responses are private and must not be stored.connectionstringrequiredConnection identifier.
secretstringrequiredSigning secret. Store securely. It is returned only on registration or rotation.
pattern ^whsec_
curl -X POST "https://api.sendtopigeon.com/v1/webhooks" \
-H "Authorization: Bearer $PIGEON_TOKEN" \
-H "Content-Type: application/json" \
--data '{
"url": "https://example.com/",
"events": [
"feed_changed"
]
}'{
"url": "https://example.com/",
"events": [
"feed_changed"
]
}POST https://api.sendtopigeon.com/v1/webhooksRead webhook status and delivery history
Returns the endpoint and newest deliveries first. Use next as before to read older deliveries. A failed webhook does not stop feed polling.
Path parameters
| Name | Type | Description |
|---|---|---|
| connectionrequired | string | Connection that owns the webhook. |
Query parameters
| Name | Type | Description |
|---|---|---|
| before | string · uuid | Delivery ID returned by the previous page. |
Responses
200 Successful response.application/json
request-idServer-generated request ID for support and tracing.Cache-ControlHub responses are private and must not be stored.nextstring | null · uuidrequiredendpointany of 2requireddeliveriesarray of objectrequired
curl -X GET "https://api.sendtopigeon.com/v1/webhooks/%7Bconnection%7D" \
-H "Authorization: Bearer $PIGEON_TOKEN"GET https://api.sendtopigeon.com/v1/webhooks/%7Bconnection%7DRemove a webhook
Disables the endpoint and stops pending deliveries. The result is also successful when the connection has no endpoint.
Path parameters
| Name | Type | Description |
|---|---|---|
| connectionrequired | string | Connection that owns the webhook. |
Responses
200 Successful response.application/json
request-idServer-generated request ID for support and tracing.Cache-ControlHub responses are private and must not be stored.removedconst truerequired
curl -X DELETE "https://api.sendtopigeon.com/v1/webhooks/%7Bconnection%7D" \
-H "Authorization: Bearer $PIGEON_TOKEN"DELETE https://api.sendtopigeon.com/v1/webhooks/%7Bconnection%7DRotate the webhook signing secret
Pigeon signs with both secrets during the rotation overlap. Save the new secret before retiring the previous one.
Path parameters
| Name | Type | Description |
|---|---|---|
| connectionrequired | string | Connection that owns the webhook. |
Responses
200 Successful response.application/json
request-idServer-generated request ID for support and tracing.Cache-ControlHub responses are private and must not be stored.secretstringrequiredSigning secret. Store securely. It is returned only on registration or rotation.
pattern ^whsec_
curl -X POST "https://api.sendtopigeon.com/v1/webhooks/%7Bconnection%7D/rotate" \
-H "Authorization: Bearer $PIGEON_TOKEN"POST https://api.sendtopigeon.com/v1/webhooks/%7Bconnection%7D/rotateReceive a Pigeon webhook
Pigeon posts this event to your registered HTTPS URL. Verify the Standard Webhooks signature before accepting it. Return a 2xx response after accepting the event for durable processing.
Headers
| Name | Type | Description |
|---|---|---|
| webhook-idrequired | string · uuid | Stable event ID. Deduplicate by this value. |
| webhook-timestamprequired | string | Unix timestamp in seconds. |
| webhook-signaturerequired | string | Space-separated v1 signatures over ID, timestamp and raw request body. |
Request body required
specversionconst "1.0"requiredidstring · uuidrequiredsourceconst "urn:pigeon:hub"requiredtypestringrequired"feed_changed" · "connection_requested"timestring · date-timerequireddatacontenttypeconst "application/json"requireddataobjectrequired
Responses
2XX Event accepted.
{
"specversion": "1.0",
"id": "01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11",
"source": "urn:pigeon:hub",
"type": "feed_changed",
"time": "2026-12-05T09:30:00Z",
"datacontenttype": "application/json",
"data": {
"account": "01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11"
}
}