---
title: "Resend notifications by query"
method: POST
path: "/webhooks/{webhookId}/notifications/resend_by_query"
tags: ["Webhooks V2"]
---

# Resend notifications by query

`POST /webhooks/{webhookId}/notifications/resend_by_query`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/webhooks/{webhookId}/notifications/resend_by_query`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/webhooks/:webhookId/notifications/resend_by_query/post.ts> (a function with typed inputs; its response is checked against the schema)

Resend notifications matching the given query filters (statuses, events, time range, resource ID)

Endpoint Permission: Owner, Admin, Non-Signing Admin, Editor, Signer.

## Path parameters

- `webhookId` string, required

## Headers

- `Idempotency-Key` string

## Request body

- ResendByQueryRequest
  - `statuses` NotificationStatus[]: (optional) List of notification statuses to resend - Default if missing: `["FAILED", "ON_HOLD"]`
  - `startTime` number: (optional) Start time for the resend window in milliseconds since epoch, within the last 72 hours - Default if missing means 24 hours before the current time in milliseconds since epoch - Maximum value is current time in milliseconds since epoch - Minimum value is 72 hours before the current time in milliseconds since epoch
  - `endTime` number: (optional) End time for the resend window in milliseconds since epoch, within the last 72 hours - Default if missing means current time in milliseconds since epoch - Requires startTime to be provided - Must be after startTime - Time window between startTime and endTime must not exceed 24 hours
  - `events` WebhookEvent[]: (optional) Event types to resend, default is all event types - Default if missing means all events will be included - Empty array means all events will be included
  - `resourceId` string: (optional) Resource ID to filter notifications by

## Response `200`

No matching notifications to resend

- ResendByQueryResponse
  - `total` number: The total number of notifications that are scheduled to be resent.

## Other responses

- `202`: Resend notifications request was accepted and is being processed
- `default`: Error Response

---

[API](https://skmtc.dev/fireblocks/apis/fireblocks-api.md) - [All operations](https://skmtc.dev/fireblocks/apis/fireblocks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireblocks/apis/fireblocks-api/revisions/4eba9965659a?raw)
