# Raise or lower a hand

`POST https://rest.wordplus.cloud/wordplus/realtime/calls/{name}/hand`

Raises or lowers someone's hand in a group call. A hand stays up until it is lowered or its owner leaves, and a host
who joins later sees it: the room's `hands`.

In the packages: `realtime.call( name ).hand( user, up )`.

## Parameters

| Name | In | |
|---|---|---|
| `name` (required) | path | The group call name, percent-encoded: `meeting:7` is `meeting%3A7`. |

## Request

```json
{
  "user": "43",
  "up": true
}
```

## Answer

Whether it changed.

```json
{
  "ok": true,
  "changed": true
}
```

## Refusals

- **400**: `bad_request`, `bad_room`: the request is not one the API takes. `reserved`: an event name kept for the room itself.
- **401**: `missing_signature`, `stale_signature` (a clock off by more than 5 minutes), `unknown_site`, `bad_signature` (a wrong secret, or a body or path other than the one signed).
- **403**: `not_included`: your plan does not include it.

## Examples

`wordplus()` (in Go `app.Request()`) signs and sends the request: https://docs.wordplus.cloud/api/signing/ has it in each language.

**curl**

```bash
wordplus POST '/wordplus/realtime/calls/meeting%3A7/hand' '{"user":"43","up":true}'
```

**Node**

```js
const { changed } = await wordplus('POST', `/wordplus/realtime/calls/${encodeURIComponent('meeting:7')}/hand`, { user: '43', up: true });
```

**Python**

```python
changed = wordplus("POST", f"/wordplus/realtime/calls/{quote('meeting:7', safe='')}/hand", {"user": "43", "up": True})["changed"]
```

**PHP**

```php
$changed = wordplus('POST', '/wordplus/realtime/calls/'.rawurlencode('meeting:7').'/hand', ['user' => '43', 'up' => true])['changed'];
```

**Go**

```go
answer, err := app.Request("POST", "/wordplus/realtime/calls/"+url.PathEscape("meeting:7")+"/hand", map[string]any{"user": "43", "up": true})
```

