Webhooks (/apps/:app/webhooks) tells your servers when things happen in one app: a user signs up, a sign-in is blocked, a new device shows up. With two or more apps, Developers lists every app's endpoints together.
Endpoints#
Each endpoint shows its URL, description, events, last delivery and health:
| Health | Meaning |
|---|---|
| healthy | Deliveries go through. |
| failing | Recent deliveries failed. |
| paused | Paused after repeated failures in a row (5 by default); events are skipped for a while. |
| off | Turned off. |
| no deliveries yet | Nothing sent yet. |
A notice on top says how many endpoints are failing. The switch on each row turns an endpoint on or off.
Add or edit an endpoint#
Add endpoint opens a sheet:
| Field | Notes |
|---|---|
| URL | http or https. Use a test URL makes a throwaway inbox at Svix Play, a public service outside Scute; anyone with its link can read what is sent. |
| Description | Optional. |
| Events | All events (every event the app sends, including new kinds as Scute adds them) or Pick events by category, with search. |
| Retries | 0 to 10 (default 3): how many more times a failed delivery is tried, with growing waits. |
| On | Send events to this endpoint. |
On create, the signing secret is shown once.
One endpoint#
Click an endpoint to open it.
- Send test: sends a test event.
- Edit and Delete. Delete removes the endpoint and its delivery history, with a typed confirm.
- Events: what it receives.
- Signing secret: Rotate makes a new secret, shown once; the old one stops working.
To verify a request on your server:
- Read X-Webhook-Signature: t=<ts>,v1=<hex>.
- Compute HMAC SHA-256 of <ts>.<raw body> with the secret.
- Compare with v1 in constant time, and refuse if ts is over 5 minutes old.
Deliveries#
Filter by all, delivered, failed or skipped, page through, and Refresh. Open a delivery for its error, payload, response body and retry count, with Send again for a failed or skipped one.
Send failed again resends each event whose last delivery here failed in the past 7 days, once, oldest first, up to 100 at a time. Deliveries still being retried are left alone.
Who can use it#
Owners and admins add, edit, delete and rotate, and send deliveries again. Other roles see endpoints and deliveries.
Event types and payloads are in the API reference.