Quickstart
Publish your first event and watch it get delivered.
Get an API key
Create a key in the dashboard under Settings → API keys. Keys look like
sk_prod_…, where prod is the environment's slug.
Publish an event
const res = await fetch("https://api.usewebhooks.dev/v1/publish", {
method: "POST",
headers: { "X-API-Key": process.env.USE_WEBHOOKS_KEY! },
body: JSON.stringify({ eventType: "hello.world", payload: { hi: 1 } }),
});The API answers 202 Accepted as soon as the event is stored:
{ "id": "evt_01J…", "duplicate": false }Watch it arrive
Open Events in the dashboard to see the event and each delivery attempt.