Skip to main content
PATCH
Enable or disable comments on media (API key)
Use Authorization: Bearer hmok_... (an API key, or a dashboard session) instead of a channel token. Accepted scope is channel.manage. Delivery is at-least-once: don’t automatically retry after an ambiguous failure (timeout, dropped connection). Check the media’s current comment setting first to see whether it already changed. If you need the raw Graph request, see the hmat_ gateway twin.

Authorizations

Authorization
string
header
required

Authorization: Bearer hmok_... API key or a dashboard session token

Path Parameters

ch
string
required

ch_ channel id

mediaId
string
required

Body

application/json
commentsEnabled
boolean
required

Response

Moderated

channelId
string
required
action
string
required
targetId
string
required
success
boolean
required