# Simple Groups API

![](https://nyc3.digitaloceanspaces.com/smartbots-docs/uploads/20adbcf8-a916-46eb-b77b-ad6944665550/2456b4c7-de1f-4dbc-86a9-1a4eadffe89c/image.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=DO801JV4MUMY3YAEJCWC%2F20261113%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20261113T140000Z&X-Amz-Expires=86400&X-Amz-Signature=d2d67d6ade48c255d7174076686339943bea16516e3a606d6c1142633e2d7e1b&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =1536x1024")

The Simple Group API commands are being sent to the bot by calling a special HTTP URL:

```php
https://api.mysmartbots.com/api/simple.html
```

The request can be either **GET** or **POST**. Read the [Calling Simple Group API page](/doc/a4ead7e4-24ac-4fef-bff0-7cda7f62f385) for more info.

## Testing

You can compose and test your queries using the SmartBots API Testing Suite:

<http://www.mysmartbots.com/api/testing.html>

## Available Simple Group API commands

| Command | Description |
|---------|-------------|
| **invite** | Sends the group invitation to specific resident. |
| **eject** | Ejects residents from the group. |
| **send_group_im** | Send message to the group chat. |
| **set_http_callback** | Set HTTP callback to be called on group events. |

---

**Documents**

- [Calling and usage](https://www.mysmartbots.com/docs/s/dev/doc/calling-and-usage-0VubVCqm2c)
- [invite](https://www.mysmartbots.com/docs/s/dev/doc/invite-C2cdKvCXKI)
- [eject](https://www.mysmartbots.com/docs/s/dev/doc/eject-k81kATahjM)