---
title: "Cancel a scheduled message"
method: DELETE
path: "/scheduled-messages/{scheduledMessageId}"
tags: ["Messages"]
---

# Cancel a scheduled message

`DELETE /scheduled-messages/{scheduledMessageId}`

## Request

- Base URL: `https://api.ando.so/v1`
- URL: `https://api.ando.so/v1/scheduled-messages/{scheduledMessageId}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Cancels a message the calling API key scheduled, so it is never sent. Requires messages:write. A scheduled message that does not exist, was scheduled by another key or in the app, was already sent or was already canceled returns 404 Scheduled message not found, so repeating a cancel is safe and reveals nothing. To change a scheduled message, cancel it and schedule again.

## Path parameters

- `scheduledMessageId` string, required: Scheduled message identifier.

## Response `200`

Canceled scheduled message.

- CancelScheduledMessageResponse: Canceled scheduled message response.
  - `data` object, required: Canceled scheduled message data.
    - `scheduled_message` object, required: The scheduled message that will no longer be sent.
      - `canceled_at` string, date-time, required: When the message was canceled.
      - `id` string, required: Scheduled message identifier.
      - `status` 'canceled', required

## Other responses

- `400`: Bad request.
- `401`: Missing or invalid API key.
- `403`: Forbidden.
- `404`: Not found.
- `409`: Conflict.
- `429`: Rate limit or quota exceeded.
- `500`: Internal server error.

## Changes

- **2026-10-18** `aaceae49c08d`: 12 info
  - added the optional property `request_id` to the response with the `400` status
  - added the optional property `request_id` to the response with the `401` status
  - added the optional property `request_id` to the response with the `403` status
  - added the optional property `request_id` to the response with the `404` status
  - …8 more
- **2026-10-13** `a1b7544d3bf4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ando/apis/ando-public-api/changes/scheduled-messages/:scheduledMessageId/delete.md)

---

[API](https://skmtc.dev/ando/apis/ando-public-api.md) - [All operations](https://skmtc.dev/ando/apis/ando-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ando/apis/ando-public-api/revisions/d852746d81c2?raw)
