---
title: "Cancel a webhook waiter"
method: POST
path: "/api/v1/webhooks/waiters/{waiterId}/cancel"
tags: ["webhooks"]
---

# Cancel a webhook waiter

`POST /api/v1/webhooks/waiters/{waiterId}/cancel`

## Request

- Base URL: `https://api.trigger.dev`
- URL: `https://api.trigger.dev/api/v1/webhooks/waiters/{waiterId}/cancel`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/triggerdotdev/apis/trigger-dev-v3-rest-api/docs/api/v1/webhooks/waiters/:waiterId/cancel/post.ts> (a function with typed inputs; its response is checked against the schema)

Cancel a waiter. It stops matching deliveries, frees its slot toward the endpoint's limit, and fails the run's wait. If a delivery already claimed the waiter, the cancel is too late: the response has `cancelled: false` with `reason: "too_late"`, and the run resumes with that delivery's event.

## Response `200`

Successful request

- CancelWebhookWaiterResponse
  - `cancelled` boolean, required
  - `reason` 'too_late': Present when `cancelled` is `false`. A delivery already claimed the waiter.
  - `deliveryId` string: With `too_late`, the delivery that resumed the run.

## Other responses

- `401`: Unauthorized request
- `404`: Waiter not found

## Changes

- **2026-10-15** `f44b1ec886c8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/triggerdotdev/apis/trigger-dev-v3-rest-api/changes/api/v1/webhooks/waiters/:waiterId/cancel/post.md)

---

[API](https://skmtc.dev/triggerdotdev/apis/trigger-dev-v3-rest-api.md) - [All operations](https://skmtc.dev/triggerdotdev/apis/trigger-dev-v3-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/triggerdotdev/apis/trigger-dev-v3-rest-api/revisions/441161111493?raw)
