> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.meetstream.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.meetstream.ai/_mcp/server.

# Send Command

POST https://api.meetstream.ai/api/v1/bots/{bot_id}/send_command
Content-Type: application/json

Send a command to a bot that is in a live meeting. Use `raise_hand` to raise the bot's hand,
`lower_hand` to lower it, or `screenshot` to capture the meeting. Hand commands use the meeting's
own raise-hand control, so everyone in the meeting sees the change. Screenshots are supported
on Google Meet, Teams and Zoom bots that join without your own Zoom app; Zoom bots using your own
app (Meeting SDK) do not support them. Retrieve captures with Get Bot Screenshots.

For hand commands, the response includes `hand_raised`: the hand state the bot read back from
the meeting after it acted. A repeated hand command changes nothing and returns `200` with the
current state. `hand_raised` does not apply to `screenshot`.

Supported on Google Meet, Zoom and Microsoft Teams. The bot must be in the meeting (status
`InMeeting`, `Recording` or `RecordingPermissionAllowed`). Allow up to 10 seconds for a response.
Shares the 30 requests per minute per bot limit with the other in-meeting commands. See the
[Raise & Lower Hand guide](/guides/features/raise-lower-hand).


Reference: https://docs.meetstream.ai/api-reference/api-endpoints/bot-endpoints/send-command

## Authentication

- `Authorization` header (required) (prefixed with ` Token  `) — Format: Token \<your\_api\_key>

## Request

### Path parameters

- `bot_id` (string, required) — The ID returned when the bot was created.

### Body (application/json)

This endpoint expects a SendCommandRequest.

- `command` (enum, required) — `raise_hand` raises the bot's hand. `lower_hand` lowers it. `screenshot` captures the meeting when the bot's platform and join method support it.
  - Allowed values: `raise_hand`, `lower_hand`, `screenshot`

## Response

### 200

The bot accepted the command. Hand commands include `hand_raised`, the hand state after the command.

- `status` (enum, required)
  - Allowed values: `accepted`
- `bot_id` (string, required)
- `command` (enum, required)
  - Allowed values: `raise_hand`, `lower_hand`, `screenshot`
- `hand_raised` (boolean, optional) — The hand state the bot read back from the meeting after it acted: `true` when the hand is up. Not an echo of the request. Present for hand commands, not screenshots.

## Errors

### 400 Bad Request Error

The command is not valid, or the bot's platform does not support it. A Zoom RTMS session returns `code: unsupported_on_zoom_rtms` and a WhatsApp call returns `code: unsupported_on_whatsapp`, because nothing can be sent into those meetings.

- `error` (string, optional)
- `code` (string, optional) — Machine-readable reason, when present. For example `unsupported_on_zoom_rtms` or `unsupported_on_whatsapp`.
- `command` (string, optional)
- `platform` (string, optional)
- `bot_status` (string, optional) — The bot's current status, when the bot is not in the meeting.
- `detail` (string, optional)
- `limit` (integer, optional) — Requests allowed per minute for this bot, on a `429`.
- `retry_after` (integer, optional) — Seconds to wait before the next command, on a `429`.

### 403 Forbidden Error

Missing or invalid API key, or the bot belongs to another account.

- `any`

### 404 Not Found Error

Bot not found.

- `any`

### 409 Conflict Error

The bot is not in the meeting: it is still joining, waiting in the lobby, or has left. The body includes `bot_status`. The meeting can also refuse the command, for example when the host has turned off raise hand.

- `error` (string, optional)
- `code` (string, optional) — Machine-readable reason, when present. For example `unsupported_on_zoom_rtms` or `unsupported_on_whatsapp`.
- `command` (string, optional)
- `platform` (string, optional)
- `bot_status` (string, optional) — The bot's current status, when the bot is not in the meeting.
- `detail` (string, optional)
- `limit` (integer, optional) — Requests allowed per minute for this bot, on a `429`.
- `retry_after` (integer, optional) — Seconds to wait before the next command, on a `429`.

### 429 Too Many Requests Error

Rate limit exceeded: 30 requests per minute per bot, shared with the other in-meeting commands. Wait for the number of seconds in the `Retry-After` header.

- `error` (string, optional)
- `code` (string, optional) — Machine-readable reason, when present. For example `unsupported_on_zoom_rtms` or `unsupported_on_whatsapp`.
- `command` (string, optional)
- `platform` (string, optional)
- `bot_status` (string, optional) — The bot's current status, when the bot is not in the meeting.
- `detail` (string, optional)
- `limit` (integer, optional) — Requests allowed per minute for this bot, on a `429`.
- `retry_after` (integer, optional) — Seconds to wait before the next command, on a `429`.

### 501 Not Implemented Error

The command is not available yet for bots that run outside the US region.

- `any`

### 502 Bad Gateway Error

The bot could not find or read the meeting's raise-hand control. Retry once.

- `any`

### 503 Service Unavailable Error

The bot is busy with another hand command, is unreachable, or has left the meeting. Retry with backoff.

- `any`

## Examples

### Raise Hand

**Request**

```json
{
  "command": "raise_hand"
}
```

**Response**

```json
{
  "status": "accepted",
  "bot_id": "83acdd72-3257-4b06-a2e9-0d879dc571ff",
  "command": "raise_hand",
  "hand_raised": true
}
```

**SDK Code**

```python Raise Hand
import requests

url = "https://api.meetstream.ai/api/v1/bots/83acdd72-3257-4b06-a2e9-0d879dc571ff/send_command"

payload = { "command": "raise_hand" }
headers = {
    "Authorization": "Token <apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Raise Hand
const url = 'https://api.meetstream.ai/api/v1/bots/83acdd72-3257-4b06-a2e9-0d879dc571ff/send_command';
const options = {
  method: 'POST',
  headers: {Authorization: 'Token <apiKey>', 'Content-Type': 'application/json'},
  body: '{"command":"raise_hand"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Raise Hand
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.meetstream.ai/api/v1/bots/83acdd72-3257-4b06-a2e9-0d879dc571ff/send_command"

	payload := strings.NewReader("{\n  \"command\": \"raise_hand\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Token <apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Raise Hand
require 'uri'
require 'net/http'

url = URI("https://api.meetstream.ai/api/v1/bots/83acdd72-3257-4b06-a2e9-0d879dc571ff/send_command")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Token <apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"command\": \"raise_hand\"\n}"

response = http.request(request)
puts response.read_body
```

```java Raise Hand
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.meetstream.ai/api/v1/bots/83acdd72-3257-4b06-a2e9-0d879dc571ff/send_command")
  .header("Authorization", "Token <apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"command\": \"raise_hand\"\n}")
  .asString();
```

```php Raise Hand
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.meetstream.ai/api/v1/bots/83acdd72-3257-4b06-a2e9-0d879dc571ff/send_command', [
  'body' => '{
  "command": "raise_hand"
}',
  'headers' => [
    'Authorization' => 'Token <apiKey>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Raise Hand
using RestSharp;

var client = new RestClient("https://api.meetstream.ai/api/v1/bots/83acdd72-3257-4b06-a2e9-0d879dc571ff/send_command");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Token <apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"command\": \"raise_hand\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Raise Hand
import Foundation

let headers = [
  "Authorization": "Token <apiKey>",
  "Content-Type": "application/json"
]
let parameters = ["command": "raise_hand"] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.meetstream.ai/api/v1/bots/83acdd72-3257-4b06-a2e9-0d879dc571ff/send_command")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Lower Hand

**Request**

```json
{
  "command": "lower_hand"
}
```

**Response**

```json
{
  "status": "accepted",
  "bot_id": "83acdd72-3257-4b06-a2e9-0d879dc571ff",
  "command": "lower_hand",
  "hand_raised": false
}
```

**SDK Code**

```python Lower Hand
import requests

url = "https://api.meetstream.ai/api/v1/bots/83acdd72-3257-4b06-a2e9-0d879dc571ff/send_command"

payload = { "command": "lower_hand" }
headers = {
    "Authorization": "Token <apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Lower Hand
const url = 'https://api.meetstream.ai/api/v1/bots/83acdd72-3257-4b06-a2e9-0d879dc571ff/send_command';
const options = {
  method: 'POST',
  headers: {Authorization: 'Token <apiKey>', 'Content-Type': 'application/json'},
  body: '{"command":"lower_hand"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Lower Hand
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.meetstream.ai/api/v1/bots/83acdd72-3257-4b06-a2e9-0d879dc571ff/send_command"

	payload := strings.NewReader("{\n  \"command\": \"lower_hand\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Token <apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Lower Hand
require 'uri'
require 'net/http'

url = URI("https://api.meetstream.ai/api/v1/bots/83acdd72-3257-4b06-a2e9-0d879dc571ff/send_command")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Token <apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"command\": \"lower_hand\"\n}"

response = http.request(request)
puts response.read_body
```

```java Lower Hand
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.meetstream.ai/api/v1/bots/83acdd72-3257-4b06-a2e9-0d879dc571ff/send_command")
  .header("Authorization", "Token <apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"command\": \"lower_hand\"\n}")
  .asString();
```

```php Lower Hand
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.meetstream.ai/api/v1/bots/83acdd72-3257-4b06-a2e9-0d879dc571ff/send_command', [
  'body' => '{
  "command": "lower_hand"
}',
  'headers' => [
    'Authorization' => 'Token <apiKey>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Lower Hand
using RestSharp;

var client = new RestClient("https://api.meetstream.ai/api/v1/bots/83acdd72-3257-4b06-a2e9-0d879dc571ff/send_command");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Token <apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"command\": \"lower_hand\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Lower Hand
import Foundation

let headers = [
  "Authorization": "Token <apiKey>",
  "Content-Type": "application/json"
]
let parameters = ["command": "lower_hand"] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.meetstream.ai/api/v1/bots/83acdd72-3257-4b06-a2e9-0d879dc571ff/send_command")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```