WarmablyWarmablyDOCS
Search docs⌘K
Dashboard
API Reference/Endpoints

Delete a message

DELETE/api/linkedin/gateway/messages/{message_id}

Unsends a message you've already sent — a "delete for everyone", not just removing it from your own view.

On LinkedIn this only works within roughly 60 minutes of the original send; after that the provider rejects the deletion. WhatsApp doesn't carry the same documented cutoff.

Authentication

Send your personal API key as a bearer token. A missing, malformed or revoked key returns 401.

Path parameters

FieldTypeDescription
message_id *stringThe id of the message to delete.

Query parameters

FieldTypeDescription
account_id *stringThe connected account this message belongs to. Must belong to the calling key.

Errors

·401 Unauthorized. The key is missing, malformed or has been rotated.·403 Forbidden. account_id doesn't belong to this key.·404 Not Found. No message exists with that id on that account.
CredentialsRequired
AuthorizationBearer wm_live_••••••••
RequestTry it
curl -X DELETE "https://api.warmably.com/api/linkedin/gateway/messages/wCQ0j9dQXk2QGRLNJ8xE1w?account_id=459993d2-b0e7-4b19-baf9-45252ca324cf" \
  -H "Authorization: Bearer wm_live_..."
Response
200 OK
{
  "object": "MessageDeleted"
}
No key yet? Create one from Dashboard → API Keys.