POST /v1/publish

Publish an event.

Request

curl -X POST https://api.usewebhooks.dev/v1/publish \
  -H "X-API-Key: sk_prod_…" \
  -d '{"eventType":"hello.world","payload":{"hi":1}}'
FieldTypeDescription
eventTypestringDot-separated event type name.
payloadobjectAny JSON; delivered as-is.

Response

{ "id": "evt_01J…", "duplicate": false }