Skip to main content

Adding a Bot to a Group via API

If you need to programmatically control Bot group membership, use the add-to-group API for automated integration.

What You Need

  • bot_id
  • bot_token
  • Target group chat ID
curl --location 'https://api-coco.typex.im/open/robot/add_chat' \
--header 'Authorization: Bearer <bot_token>' \
--header 'Content-Type: application/json' \
--data '{
"bot_id": "your_bot_id",
"feed_id": "target_group_id"
}'