Skip to content

Pin a chat message on behalf of a streamer. Requires 'message.pin' permission. Creates a place.stream.chat.pinnedRecord in the streamer's repo, replacing any existing pin.

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

The DID of the streamer.

string format: did
messageUri
required

The AT-URI of the chat message to pin.

string format: uri
expiresAt

Optional expiration time for this pin.

string format: date-time

Success

object
uri
required

The AT-URI of the created pinned record.

string format: uri
cid
required

The CID of the created pinned record.

string format: cid

Bad Request

object
error
required
One of:
string
message
required
string