Social API reference

Social API · Conversations

delete/v1/communities/{community_id}/conversations/{conversation_id}/messages/{message_id}Auth

Soft-delete a message. Reserved to the sender; the row stays so the conversation timeline doesn't orphan replies. Reads return body `"(deleted)"`. Pass the sender via `?actor_id=`.

Path parameters

community_id*string

Social community UUID. Must belong to the PAK's workspace.

conversation_id*string

Conversation UUID.

message_id*string

Direct message UUID.

Query parameters

actor_id*string · uuid

The sender — must match the message's sender_id.

Response · 204

Message soft-deleted.

Example

Request

DELETE https://social.productcraft.co/v1/communities/{community_id}/conversations/{conversation_id}/messages/{message_id}
Authorization: Bearer YOUR_TOKEN