Webhooks let your application react to events happening inside VantageClaw without polling. The platform pushes an HMAC-signed HTTPS POST to a URL you control whenever a subscribed event fires.Documentation Index
Fetch the complete documentation index at: https://vantagesolutions.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Lifecycle
- Subscribe —
POST /api/v1/partner/webhookswith the URL you want events delivered to and the list of event types you care about. The response returns the subscription’s HMACsecretonce — store it securely; it is not recoverable. - Receive — When a subscribed event fires, VantageClaw POSTs the signed envelope to your URL. Your endpoint must respond
2xxwithin 10 seconds to acknowledge receipt. - Verify — Every request carries
X-VC-SignatureandX-VC-Timestampheaders. Verify both before trusting the body. See Webhook security for the algorithm. - Process — Once verified, route the envelope to your application logic. Idempotent processing is strongly recommended — see Delivery semantics below.
Creating a subscription
201):
URL requirements
Subscription URLs are validated server-side at create time to prevent SSRF attacks against internal infrastructure:- Must be
https://(no plaintexthttp://). - Must resolve to a public IP address — RFC1918 ranges, loopback, and link-local addresses are rejected with
422. - Must not be a
.localmDNS name or any other non-public hostname.
Listing and deleting
Delivery semantics
- At-least-once. A successful delivery may be re-sent if the network truncates between your
2xxand our acknowledgment. Design your handler to be idempotent — dedupe on the envelope’sidfield (formatevt_<uuid>). - Retry schedule. Failed deliveries (non-2xx response, timeout, network error) retry on a fixed schedule: 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 24 hours. After 7 total attempts the delivery is dead-lettered and recorded in the failures audit.
- HTTP timeout. Each attempt has a 10-second timeout. If your handler regularly takes longer than 10 seconds, acknowledge with
2xxfirst and process asynchronously. - Auto-disable. After 20 consecutive failures, the subscription is auto-disabled (
active: false,auto_disabled_atset). It stops receiving deliveries until you delete and recreate it.
Inspecting failures
The failures audit endpoint returns recent delivery failures for a subscription, cursor-paginated newest-first:next_cursor value from the response as ?cursor=... to fetch the next page. next_cursor: null means no more pages.
Next steps
Webhook events
The current event vocabulary and envelope shape.
Webhook security
HMAC verification algorithm, replay defense, sample implementations.