# Simple Groups API

![](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/fe746996-bd68-4ba8-a15e-e239ddd741be/53d3bdb0-e78f-4c74-91ea-b99cb126c638/image.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20260919%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260919T064500Z&X-Amz-Expires=86400&X-Amz-Signature=4541e242011956ddb19b889925dff6582cda91a4f68a0eecc4e4cb236e55d980&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/calling-and-usage-vjwMlKe7Yw) 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://sb-docs-dev.getoutline.com/s/dev/doc/calling-and-usage-vjwMlKe7Yw)
- [invite](https://sb-docs-dev.getoutline.com/s/dev/doc/invite-eSC0zns45w)
- [eject](https://sb-docs-dev.getoutline.com/s/dev/doc/eject-i1w7D9P6eZ)