# conversations.invite

> Add people to a channel the bot is in.

Source: https://slaiky.xyz/docs/reference/methods/conversations.invite

`POST https://app.slaiky.xyz/api/methods/conversations.invite` · needs the conversation's `channels:manage` / `groups:write`

## Arguments

| Argument | Type | Required | What |
| --- | --- | --- | --- |
| `channel` | string | yes | Channel id, or "#name" for channels. 1–81 characters. |
| `users` | array of id | yes | Up to 500 items. |

## Answer

`{ "ok": true, … }` with: (nothing). A refusal is `{ "ok": false, "error": { "code", "message" } }` ([errors](/docs/errors)).

## Example

The required arguments, with placeholders in angle brackets.

*you run*

```sh

curl -s https://app.slaiky.xyz/api/methods/conversations.invite \
  -H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
  -H 'content-type: application/json' \
  -d '{"channel":"#general","users":[]}'

```
