POST Moderate chat
Moderator Approve / Reject Message
If PRE MODERATION is enabled for a room, then all messages go to the queue before they can appear in the event stream.
If PRE-MODERATION is enabled for a room, then all messages go to the queue before they can appear in the event stream. For each incomming message, a webhook will be fired, if one is configured.
If the room is set to use POST-MODERATION, messages will only be sent to the moderation queue if they are reported.
Request
Parameters
Values in the path and query string.
appid path string TalkLabs ID required
The TalkLabs application ID assigned to your account.
Example:your-app-id eventid path string TalkLabs ID required
The TalkLabs assigned chat event ID.
Request
JSON body
Send as application/json.
approve boolean required
Request example
{
"approve": "true"
} Response
Status codes
Every JSON response uses the API result envelope.
200 OK ApiResult 400 Bad Request ApiResult 403 Forbidden ApiResult 404 Not Found ApiResult 500 Internal Server Error ApiResult