# Replay dead-lettered deliveries

Re-enqueues all `dead_lettered` webhook deliveries for this job.
Use after fixing a webhook endpoint that was temporarily unreachable.

Endpoint: POST /stream/{id}/replay-all
Version: 4.0
Security: ApiKeyAuth, BearerAuth, BasicAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header x-api-key

  - `BearerAuth` (unknown)
    http bearer JWT

  - `BasicAuth` (unknown)
    http basic

## Path parameters:

  - `id` (string, required)
    MongoDB ObjectId of the stream job.

## Response 200:

  - `200` (unknown)
    Number of deliveries re-enqueued

## Response 200 fields (application/json):

  - `error` (boolean)
    Example: false

  - `replayed` (integer)
    Deliveries moved back to `pending`.
    Example: 3

  - `message` (string)
    Example: country not supported by source

## Response 401:

  - `401` (unknown)
    Missing or invalid credentials.

## Response 401 fields (application/json):

  - `error` (string)
    Example: user not found

  - `message` (string)

## Response 403:

  - `403` (unknown)
    Authenticated but not subscribed to this source/country.

## Response 403 fields (application/json):

  - `error` (string)
    Example: user not found

  - `message` (string)

