---
title: "Cancel queued message"
method: POST
path: "/api/v1/threads/{threadId}/messages/{eventId}/cancel"
tags: ["messages"]
---

# Cancel queued message

`POST /api/v1/threads/{threadId}/messages/{eventId}/cancel`

## Path parameters

- `threadId` string, required
- `eventId` string, required

## Response `200`

CancelMessageOutcome

- CancelMessageOutcomeEncoded
  - `outcome` 'cancelled' | 'tooLate', required

## Other responses

- `401` — capy/Unauthorized
- `404` — capy/ThreadNotFound

## Changes

- **2026-08-11** `792c11dd1007` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/capy/apis/capy-api/changes/api/v1/threads/:threadId/messages/:eventId/cancel/post.md)

---

[API](https://skmtc.dev/capy/apis/capy-api.md) · [All operations](https://skmtc.dev/capy/apis/capy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/capy/capy-api/revisions/e9babb6783f3/schema)
