App Logo
instagram.com

Unsend an Instagram DM

Remove a message you sent from an Instagram DM conversation, so it disappears for everyone in the thread. Identify the message by its text, or leave the text out to take back the most recent thing you sent. Only your own messages can be taken back. If the text you give matches more than one of your messages the run refuses rather than guessing which to remove, and if it matches none it says so without touching the conversation. Removal is confirmed by re-reading the conversation from Instagram itself, not from the screen, and it cannot be undone.

Input

threadId required

The conversation's id, as returned by the inbox listing.

text optional

Text of the message to take back, matched against messages you sent. Omit to take back the most recent message you sent in the conversation.

Output

unsent required

True when a message was actually removed.

threadId required
account_used required

Handle of the account whose message was taken back, read from the page rather than assumed.

already_absent required

True when no message of yours matched, so nothing was touched.

verified_on_page required

True when the conversation was re-read from Instagram afterwards and the message was genuinely gone.

messageId optional

Instagram's own id for the removed message, as the conversation reports it. Note this is a different identifier from the one returned when a message is sent — the two are not interchangeable.

messageText optional

Text of the message that was removed.

remainingCount optional

How many messages the conversation holds after the removal, as Instagram reports it.

Start building not clicking