Webhook Endpoints
Webhook endpoint management operations
List all webhook endpoints
Returns a paginated list of all webhook endpoints for the organization environment
Create a webhook endpoint
Creates a new webhook endpoint with the provided configuration
Delete a webhook endpoint
Deletes an existing webhook endpoint by its ID
Get webhook endpoint by ID
Returns a single webhook endpoint by its ID, including its current delivery configuration
Update a webhook endpoint
Updates an existing webhook endpoint with the provided configuration
Get webhook endpoint secret
Returns the signing secret for the webhook endpoint
Rotate webhook endpoint secret
Rotates the signing secret for the webhook endpoint
Get a webhook endpoint's outbound transformation
Returns the transformation function configured on the endpoint and whether it is enabled. When none is configured the function is null and enabled is false.
Set a webhook endpoint's outbound transformation
Sets the endpoint's transformation. The enabled flag is always applied. Include the function code to set or replace it; omit the code to leave the current function unchanged (for example, send only enabled=false to turn an existing transformation off). Security: the code is JavaScript executed on each outbound delivery to rewrite the payload before it is sent — treat it as privileged configuration and only set code you trust.