Comments
Hide or unhide a comment
Toggle a comment’s visibility on your post.
POST
Hide or unhide a comment
Hides or unhides a comment. Hidden comments stay visible to their author.
To turn commenting on or off for a whole post, use
Authentication
Use thehmat_ channel token from GET /meta/channels/{id}/token or hookmyapp channels env <channel>. Do not use an hmok_ API key for this call.
Path parameters
string
required
The comment to hide or unhide.
Query parameters
boolean
required
true to hide, false to unhide.Example
Successful response
POST /{mediaId}?comment_enabled=false — see the Comments guide.Hide or unhide a comment