| name | rocketchat |
| description | Rocket.Chat team messaging - channels, messages, users, integrations via REST API |
| version | 1.0.0 |
| metadata | {"openclaw":{"requires":{"env":"[Truncated]","bins":"[Truncated]","anyBins":"[Truncated]"},"primaryEnv":"RC_TOKEN","homepage":"https://developer.rocket.chat/reference/api/rest-api"}} |
Rocket.Chat Skill
Open-source team chat platform for communication and collaboration.
Overview
Rocket.Chat supports:
- Channels (public/private), DMs, threads
- User and role management
- Integrations (webhooks, bots)
- Federation and omnichannel
Three room types: channels (channels.*), groups/private (groups.*), DMs (im.*). Generic chat.* endpoints work across all types via roomId.
API Authentication
curl -s \
-H "X-Auth-Token: $RC_TOKEN" \
-H "X-User-Id: $RC_USER_ID" \
"$RC_URL/api/v1/me"
curl -s -X POST \
-H "Content-Type: application/json" \
-d '{"user":"username","password":"password"}' \
"$RC_URL/api/v1/login" | jq '{userId: .data.userId, authToken: .data.authToken}'
Key Identifiers
- roomId — room identifier (e.g.
GENERAL, ByehQjC44FwMeiLbX)
- msgId — alphanumeric message ID (not a timestamp like Slack)
- emoji — name without colons (e.g.
thumbsup, white_check_mark)
Message context lines include rocketchat message id and room fields — reuse them directly.
Channels
curl -s -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
"$RC_URL/api/v1/channels.list?count=50"
curl -s -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
"$RC_URL/api/v1/channels.info?roomId=ROOM_ID"
curl -s -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
"$RC_URL/api/v1/channels.history?roomId=ROOM_ID&count=50"
curl -s -X POST -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
-H "Content-Type: application/json" \
-d '{"name":"new-channel","members":["user1"]}' \
"$RC_URL/api/v1/channels.create"
curl -s -X POST -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
-H "Content-Type: application/json" \
-d '{"roomId":"ROOM_ID"}' \
"$RC_URL/api/v1/channels.archive"
curl -s -X POST -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
-H "Content-Type: application/json" \
-d '{"roomId":"ROOM_ID","topic":"Weekly standup notes"}' \
curl -s -H -H \
For private groups use groups.*, for DMs use im.*. Same query params.
Messages
curl -s -X POST -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
-H "Content-Type: application/json" \
-d '{"channel":"#general","text":"Hello!"}' \
"$RC_URL/api/v1/chat.postMessage"
channel accepts: #channel-name, @username (DM), or a roomId.
curl -s -X POST -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
-H "Content-Type: application/json" \
-d '{"message":{"rid":"ROOM_ID","msg":"Hello from Clawdbot"}}' \
"$RC_URL/api/v1/chat.sendMessage"
curl -s -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
"$RC_URL/api/v1/channels.messages?roomId=ROOM_ID&count=20"
curl -s -X POST -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
-H "Content-Type: application/json" \
-d '{"roomId":"ROOM_ID","msgId":"MSG_ID","text":"Updated text"}' \
"$RC_URL/api/v1/chat.update"
curl -s -X POST -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
-H "Content-Type: application/json" \
-d '{"roomId":"ROOM_ID","msgId":"MSG_ID"}' \
"$RC_URL/api/v1/chat.delete"
curl -s -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
"$RC_URL/api/v1/chat.search?roomId=ROOM_ID&searchText=keyword"
curl -s -X POST -H "X-Auth-Token: $RC_TOKEN" -H \
-H \
-d \
curl -s -H -H \
Pins
curl -s -X POST -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
-H "Content-Type: application/json" \
-d '{"messageId":"MSG_ID"}' \
"$RC_URL/api/v1/chat.pinMessage"
curl -s -X POST -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
-H "Content-Type: application/json" \
-d '{"messageId":"MSG_ID"}' \
"$RC_URL/api/v1/chat.unPinMessage"
curl -s -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
"$RC_URL/api/v1/channels.messages?roomId=ROOM_ID&query=%7B%22pinned%22%3Atrue%7D"
Users
curl -s -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
"$RC_URL/api/v1/users.list"
curl -s -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
"$RC_URL/api/v1/users.info?username=john"
curl -s -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
"$RC_URL/api/v1/users.info?userId=USER_ID"
curl -s -X POST -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
-H "Content-Type: application/json" \
-d '{"email":"user@example.com","name":"John","username":"john","password":"pass123"}' \
"$RC_URL/api/v1/users.create"
curl -s -X POST -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
-H "Content-Type: application/json" \
-d '{"message":"In a meeting","status":"busy"}' \
"$RC_URL/api/v1/users.setStatus"
Emoji
curl -s -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
"$RC_URL/api/v1/emoji-custom.list"
Integrations
curl -s -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
"$RC_URL/api/v1/integrations.list?type=webhook-incoming"
curl -s -X POST \
-H "Content-Type: application/json" \
-d '{"text":"Alert from external system!"}' \
"$RC_URL/hooks/WEBHOOK_ID/WEBHOOK_TOKEN"
Statistics
curl -s -H "X-Auth-Token: $RC_TOKEN" -H "X-User-Id: $RC_USER_ID" \
"$RC_URL/api/v1/statistics"
Rate Limits
Default: 20 requests/second per user. Check headers: X-RateLimit-Limit, X-RateLimit-Remaining.
Ideas to try
- React with
white_check_mark to mark completed tasks
- Pin key decisions or weekly status updates
- Search messages for past discussions before asking a question
- Create project-specific channels and set descriptive topics
- DM users via
chat.postMessage with "channel": "@username"
- Use incoming webhooks for external system alerts without auth
For full documentation, see Rocket.Chat API Docs.