List webhooks
200 OK with an array of webhook objects.
Create webhook
202 Accepted with a job descriptor. Horizon validates payment via x402 before finalizing the webhook; poll GET /jobs/{jobId} or listen for the completion webhook to confirm provisioning. Provide a strong secret if you want Horizon to sign payloads.
Retrieve webhook
200 OK with a single webhook.
Update webhook
200 OK with the updated webhook.
Delete webhook
204 No Content when the webhook is removed.
Notes
- You can register multiple webhooks; each job includes its subscriptions in the
eventsfield returned byGET /jobs/{jobId}. - Webhooks fire once per job completion. Retries follow exponential backoff when the destination responds with non-2xx codes.
- Verify payload signatures with HMAC SHA-256 using the
secretyou supply. The signature appears in thesignaturefield of the webhook payload and in theX-Horizon-Signatureheader.
Response
200 - application/json
Array of webhooks