Feeds

Create feed message

Changed on

This endpoint creates a new message in a feed. Corresponds to liveblocks.createFeedMessage.

post/rooms/{roomId}/feeds/{feedId}/messages

Request

  • Base URL: https://api.liveblocks.io/v2
  • URL: https://api.liveblocks.io/v2/rooms/{roomId}/feeds/{feedId}/messages
  • Auth: none declared

Path parameters

roomIdstring required

ID of the room

Example:my-room-id
feedIdstring required

ID of the feed

Example:fd_abc123

Request body

idstring

Optional client-provided message id. If omitted, the server generates one.

timestampnumber

Optional. Unix timestamp in milliseconds for the message's creation time. If omitted, the server uses the current time.

dataobject required

Response

Success. Returns the created feed message.

idstring required
createdAtnumber required

Unix timestamp in milliseconds when the message was created.

updatedAtnumber required

Unix timestamp in milliseconds when the message was last updated.

dataobject required

Changes