# POST /v1/publish (/api/publish)

## Request [#request]

```shell
curl -X POST https://api.usewebhooks.dev/v1/publish \
  -H "X-API-Key: sk_prod_…" \
  -d '{"eventType":"hello.world","payload":{"hi":1}}'
```

| Field       | Type   | Description                     |
| ----------- | ------ | ------------------------------- |
| `eventType` | string | Dot-separated event type name.  |
| `payload`   | object | Any JSON; delivered as-is.      |

## Response [#response]

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