Skip to content

Create a gate (hide message) on behalf of a streamer. Requires 'hide' permission. Creates a place.stream.chat.gate record in the streamer's repository.

POST
/xrpc/place.stream.moderation.createGate
object
streamer
required

The DID of the streamer.

string format: did
messageUri
required

The AT-URI of the chat message to hide.

string format: uri

Success

object
uri
required

The AT-URI of the created gate record.

string format: uri
cid
required

The CID of the created gate record.

string format: cid

Bad Request

object
error
required
One of:
string
message
required
string