---
title: "Unsend a message"
method: POST
path: "/messages/{message_id}/unsend"
---

# Unsend a message

`POST /messages/{message_id}/unsend`

## Request

- Base URL: `https://osis.co/api/v1/comms`
- URL: `https://osis.co/api/v1/comms/messages/{message_id}/unsend`
- Auth: HTTP bearer

Take back an iMessage you sent, within Apple's two-minute window. Needs comms_send and a line that supports unsend. Safe to call more than once. Older devices may still show the message.

## Path parameters

- `message_id` string, required

## Request body

- object

## Response `200`

Unsent. If you'd already unsent it, you get the earlier result.

- object
  - `message_id` string, required
  - `unsent_at` string, date-time, required
  - `duplicate` boolean, required

## Other responses

- `400`: The body isn't empty JSON
- `401`: API key is missing or wrong
- `403`: Key is missing the scope or can't use this line
- `404`: Message not found in your workspace or on your key's line
- `409`: This line can't unsend, the message can't be unsent, or the time limit passed
- `429`: Too many requests
- `502`: Couldn't confirm the unsend. Call the same URL again.
- `503`: Unsend is down for a moment. Try again soon.

---

[API](https://skmtc.dev/osis/apis/comms-api.md) · [All operations](https://skmtc.dev/osis/apis/comms-api/llms.txt) · [OpenAPI document](https://skmtc.dev/osis/apis/comms-api/revisions/59a4c0ba8936?raw)
