Skip to main content
PATCH
/
:projectId
/
api
/
v7
/
spaces
/
:spaceId
/
chat
/
messages
/
:messageId
/
moderation
Moderate Message
curl --request PATCH \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/chat/messages/:messageId/moderation \
  --header 'Content-Type: application/json' \
  --data '
{
  "moderationStatus": "<string>",
  "moderationReason": "<string>"
}
'
{
  "message": "<string>",
  "moderationStatus": "<string>"
}
Takes a direct moderation action on a chat message in a space’s integrated conversation. Requires the caller to be a moderator or admin of the space.

Path Parameters

spaceId
string
required
UUID of the space.
messageId
string
required
UUID of the chat message to moderate.

Body Parameters

moderationStatus
string
required
The moderation action. Only "removed" is supported — chat messages cannot be approved via this endpoint.
moderationReason
string
Optional reason for the removal. Up to 1,000 characters.

Response

message
string
Confirmation message.
moderationStatus
string
The resulting status: "removed".