Lodol Docs

Rocket.Chat

API actions for the Rocket.Chat integration.

Rocket.Chat

Send Rocket.Chat messages to rooms or channels using a personal access token.


Send a message to a Rocket.Chat room

Post a text message to a Rocket.Chat room or channel using a personal access token.

Parameters

ParameterTypeRequiredDescription
room_idstringYesThe Rocket.Chat room or channel ID (e.g. GENERAL).
textstringYesThe message text to send.
aliasstringNoOptional display alias for the sender. Requires the 'message-impersonate' permission on the Rocket.Chat server.
thread_message_idstringNoOptional parent message ID when replying in a thread.

Response

{
  "message_id": "mock_value",
  "room_id": "mock_value",
  "status": "mock_value",
  "text": "mock_value"
}

On this page