# Send test event

Emits a test.event to this endpoint and returns its event id; the delivery appears in the event log. Requires developer:manage; a disabled endpoint is refused.

`POST /v1/webhook-endpoints/{ep_id}/test`

Emits a test.event to this endpoint and returns its event id; the delivery appears in the event log. Requires developer:manage; a disabled endpoint is refused.

Requires permission `developer:manage`.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `ep_id` | path | yes | Webhook endpoint id (we_...). |

## Responses

- **200**: Success.
- **401**: No valid session, API key or agent credential (UNAUTHENTICATED, AGENT_CREDENTIAL_INVALID).
- **403**: Authenticated but not allowed: missing permission, passkey step-up required, or denied by policy.
- **404**: The resource does not exist or belongs to another organization.
- **409**: Conflicts with the current state, for example a reused Idempotency-Key or an illegal state change.

Example 200 response:

```json
{
  "event_id": "evt_01jd2x3k4m5n6p7q8r9s0t1v2w"
}
```
