Skip to main content

Make an endpoint a delivery target of a webhook

PUT 

/api/v1/webhooks/:webhook_id/routes/:endpoint_id

add_webhook_route, through the same checks: the target must be an active endpoint of the caller, or of a human the caller may deliver to across an approved friend edge (ADR-0010). Adding a route that exists changes nothing. Once routed, the endpoint is in the webhook's grant.endpoints, so its rules may name it.

Request​

Responses​

The route exists (idempotent).