---
search:
  tags:
    - Messages
    - POST
seo:
  description: >-
    Only a queued message can be cancelled: one a sender has claimed or started
    is… Reference for the POST /v1/messages/{id}/cancel endpoint in the Norbelys
    API.
sidebar:
  label: Cancel a queued message.
  badge: POST
title: Cancel a queued message.
type: openapi-operation
---
Only a `queued` message can be cancelled: one a sender has claimed or started is on its way
and cannot be recalled (`409 invalid_state`), and a sent, failed or cancelled one has nothing
left to cancel. The message becomes `cancelled` and `message.cancelled` is sent to the
workspace's webhook endpoints.

`POST /v1/messages/{id}/cancel`
