Apply a comment moderation decision
If PRE MODERATION is enabled for a conversation, then all messages go to the queue before they can appear in the conversation.
If PRE-MODERATION is enabled for a conversation, then all messages go to the queue before they can appear in the conversation. For each incomming message, a webhook will be fired, if one is configured.
If the conversation is set to use POST-MODERATION, messages will only be sent to the moderation queue if they are reported.
BODY PROPERTIES
- approve : (required) Pass true to approve the comment or false to reject the comment.
Parameters
Values in the path and query string.
appid path The TalkLabs application ID assigned to your account.
Example:your-app-id commentid path The TalkLabs assigned comment ID.
Example:comment-id JSON body
Send as application/json.
approve {
"approve": true
} Common variations
Historical examples filtered through the current request schema.
Approve Message in Queue
{
"approve": true
} Reject Message in Queue
This variation uses the endpoint and parameters described above.
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