Cancel queued message

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

Authorization

bearerAuth
headerAuthorizationBearer <token>

An API key created in Capy under Settings → API.

Path parameters

threadId*string
eventId*string
Length26 <= length <= 26

Response body

CancelMessageOutcome

application/json
  1. response
outcome*string
One of"cancelled""tooLate"
curl -X POST 'https://api.capy.ai/api/v1/threads/string/messages/string/cancel'
{  "outcome": "cancelled"}
Open in Capy