webhooks
Cancel a webhook waiter
Changed onCancel 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.
post/api/v1/webhooks/waiters/{waiterId}/cancel
Request
- Base URLhttps://api.trigger.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful request
Example response
{
"deliveryId": "whd_1234"
}Changes
- info
endpoint added
- info