Chats v2

Report a message (v2)

post/v2/chats/messages/report

Request body

messageIdstring required

ID of the message being reported

reasonId'inappropriate_content' | 'spam' | 'harassment' | 'other' required

Reason for reporting the message

additionalDetailsstring

Additional details about the report (optional)

Example request

{
  "messageId": "3ae9f1c1-1658-4689-b8a2-a2afb998d2ae",
  "reasonId": "inappropriate_content",
  "additionalDetails": "This message contains inappropriate content that violates community guidelines"
}

Response

Message reported successfully

successboolean required

Whether the report was created successfully

messagestring required

Response message

reportIdnumber

ID of the created report

Example response

{
  "success": true,
  "message": "Message reported successfully",
  "reportId": 1
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.