---
title: "Replay Webhook Events"
method: POST
path: "/v1/webhook-events/replay"
tags: ["Webhook Events"]
---

# Replay Webhook Events

`POST /v1/webhook-events/replay`

## Request

- Base URL: `https://gateway.remote.com`
- URL: `https://gateway.remote.com/v1/webhook-events/replay`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `/auth/oauth2/token` scopes: `https://gateway.remote.com/company.manage`
  - OAuth 2
    - Client credentials
    - Token URL: `/auth/oauth2/token` scopes: `webhook:write`
  - OAuth 2
    - Client credentials
    - Token URL: `/auth/oauth2/token` scopes: `all:write`

Replay webhook events

## Authentication

This endpoint requires the following token type:

- **Client credentials access token** (`OAuth2ClientCredentials`) — obtained through the Client Credentials flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).

## Scopes

Any one of the scopes in a token type's row is enough. `all:write` works too.

| Token type | Category | Read only Scope | Write only Scope (read access implicit) |
|---|---|---|---|
| Client credentials access token | Manage company resources (`company_admin`) | - | Manage webhooks (`webhook:write`) |

## Request body

- union: Replay webhook events params
  - object
    - `ids` string[], required: A list of webhook event IDs to replay.
  - object
    - `after` string, required: Only replay events triggered after this timestamp (ISO 8601).
    - `before` string, required: Only replay events triggered before this timestamp (ISO 8601).
    - `company_id` string: Optional filter to only replay events for a specific company.
    - `event_type` string: Optional filter to only replay events of this type.
    - `successfully_delivered` boolean: Optional filter by delivery status. Set to false to replay only failed deliveries.

## Response `200`

Success

- SuccessResponse: A generic success response returned by operations that don't produce a specific resource (e.g., updates, deletes).
  - `data` object, required
    - `status` string: The result status. Always `"ok"` for successful operations.

## Other responses

- `401`: Unauthorized
- `404`: Not Found
- `422`: Unprocessable Entity

---

[API](https://skmtc.dev/remote-com/apis/integrations.md) - [All operations](https://skmtc.dev/remote-com/apis/integrations/llms.txt) - [OpenAPI document](https://skmtc.dev/remote-com/apis/integrations/revisions/1798c3c003d5?raw)
