# Send an endpoint the events it takes from a point in the stream on

`POST /webhooks/endpoints/{id}/replay` · Rivier · keys

Send an endpoint the events it takes from a point in the stream on.

- Scope: keys:admin
- Sdk: keys.webhook.replay
- Cli: keys webhook replay

## Parameters

- `id` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "fromSeq": {
      "type": "integer",
      "minimum": 1
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 5000
    }
  },
  "required": [
    "fromSeq"
  ],
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/webhooks/endpoints/{id}/replay' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "fromSeq": 0
}'
```
