send_to_endpoint
Send a webhook directly to a specific endpoint by providing the endpoint ID and payload. Use an idempotency key to safely retry without duplicate deliveries.
Instructions
Send a webhook directly to one endpoint (skips event-type fan-out). Pass idempotency_key for safe retries — duplicate keys return the original delivery id. Example: "send a test webhook to ep_abc with payload {...}" → endpoint_id="ep_abc", payload={...}. Use this when the user names a specific endpoint to target; use trigger_event when the user names an event type that should fan out to all subscribers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint_id | Yes | target endpoint public id (ep_xxx) | |
| payload | Yes | the webhook body as a JSON object | |
| idempotency_key | No | optional dedupe key — same key + same endpoint returns the original deliveryId |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delivery_id | Yes | public id of the created delivery (del_xxx) | |
| idempotency_key | Yes | the key the backend recorded (caller-provided or server-generated) | |
| status | Yes | backend acceptance status (typically 'accepted') |