test_webhook_endpoint_with_sample
Run the Sample test: opens and scans the member's Mojave sample letter if needed (free, fictional), delivers its real inbound.pages_ready / inbound.keywords_matched events to this webhook, and returns a verdict computed from the receiver's…
Instructions
Run the Sample test: opens and scans the member's Mojave sample letter if needed (free, fictional), delivers its real inbound.pages_ready / inbound.keywords_matched events to this webhook, and returns a verdict computed from the receiver's actual HTTP result plus a next step. success proves transport receipt and, when keywords are configured, a keyword match; it never proves agent processing. No mail, charge, email or facility work. Requires webhook.manage. Uses the same bounded control plane and tenant/agent/Live-Sandbox authorization as /api/v1/webhooks/endpoints. Reuse the exact idempotency_key and input after an uncertain mutation. Webhook docs: https://mailbox.bot/docs/webhooks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint_id | Yes | Webhook endpoint id (UUID) from list_webhook_endpoints. | |
| idempotency_key | Yes | A new UUID for this one intent; reuse it only to retry the identical request. | |
| expected_revision | Yes | The endpoint's current revision from list_webhook_endpoints; a stale revision is refused so concurrent edits are never overwritten. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |