App Logo
linkedin.com

Edit sent message

Edit a message you already sent in a classic LinkedIn messaging thread (NOT Sales Navigator), by thread URL from list_inbox. Edits your most recent message by default, or the most recent one containing `match`. LinkedIn only allows editing for ~60 minutes after sending — past that returns not_editable; the recipient sees an "(Edited)" tag. Only messages loaded in the thread's most recent page are searchable. Returns status (edited/not_found/not_editable), oldText and newText.

Input

newText required

The replacement text for the message

threadUrl required

URL of the conversation thread, e.g. https://www.linkedin.com/messaging/thread/<id>/ (from list_inbox)

match optional

Optional substring of the current message text to pick WHICH of your own messages to edit. Defaults to your most recent message in the thread. If several match, the most recent one wins.

Output

status required

edited = saved; not_found = no own message (matching `match`) in the loaded thread; not_editable = LinkedIn's ~60min edit window has passed (no Edit item in the message menu)

newText required

The text that was saved (null unless status=edited)

oldText required

The message text before the edit (null when not_found)

threadUrl required

Start building not clicking