API Reference › Bots — Chat & Messaging
Send Group Notice
POST
/bots/{bot_id}/groups/{group_id}/noticeSend a notice to any group the bot belongs to. The bot needs the Send Notices power.
Usage
curl -X POST "https://api.lifebots.cloud/api/v1/bots/$BOT_ID/groups/$GROUP_ID/notice" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"subject": "Event tonight",
"text": "Join us at 8pm SLT!"
}'Path parameters
| Name | Type | Description |
|---|---|---|
bot_id | UUID | The bot's avatar UUID (agentId from GET /bots). |
group_id | UUID | Group UUID. |
Body (JSON)
| Name | Type | Required | Description |
|---|---|---|---|
subject | string | yes | Notice subject. |
text | string | yes | Notice body. |
attachment | UUID | no | Inventory item to attach. |
Example response
{
"success": true,
"data": {
"result": "OK"
},
"meta": {
"timestamp": "2026-10-02T12:00:00.000Z",
"version": "1.0"
}
} Always check success; for commands the bot carries out, also check data.result. See Responses & errors.