Register a new webhook endpoint
Adds a fan-out destination to the agent. The endpoint is active immediately — the consumer will deliver to it on the next matching event. All URLs are validated for SSRF safety (must be HTTPS, non-RFC1918, non-link-local).
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
agent_id
Request
This endpoint expects an object.
url
HTTPS endpoint URL. Must be publicly reachable and non-RFC1918.
description
Optional label shown in the dashboard
Response
Endpoint created
id
ID of the newly created endpoint (whep_ prefix)
Errors
400
Create Webhook Endpoint Request Bad Request Error
401
Create Webhook Endpoint Request Unauthorized Error