# Replay event

Sends the event again as new deliveries, to one endpoint (endpoint_id in the body) or to every matching endpoint of the caller. Requires developer:manage; internal events and disabled endpoints are refused.

`POST /v1/events/{ev_id}/replay`

Sends the event again as new deliveries, to one endpoint (endpoint_id in the body) or to every matching endpoint of the caller. Requires developer:manage; internal events and disabled endpoints are refused.

Requires permission `developer:manage`.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `ev_id` | path | yes | Event id (evt_...). |

## Request body

```json
{
  "endpoint_id": "end_01jd2x3k4m5n6p7q8r9s0t1v2w"
}
```

## Responses

- **200**: Success.
- **400**: Invalid request: a field is missing or malformed (VALIDATION_ERROR).
- **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
{
  "deliveries": [
    {
      "id": "id_01jd2x3k4m5n6p7q8r9s0t1v2w",
      "event_id": "evt_01jd2x3k4m5n6p7q8r9s0t1v2w",
      "endpoint_id": "end_01jd2x3k4m5n6p7q8r9s0t1v2w",
      "endpoint_url": "https://example.com/resource",
      "status": "active",
      "attempt_count": 1,
      "last_response_code": 1,
      "next_attempt_at": "2026-11-16T12:00:00Z",
      "created_at": "2026-11-16T12:00:00Z",
      "event_type": "string",
      "attempts": [
        {
          "id": null,
          "attempt": null,
          "status_code": null,
          "latency_ms": null,
          "body_excerpt": null,
          "error": null,
          "created_at": null
        }
      ]
    }
  ]
}
```
