# conversations.create

> Make a channel (public with channels:manage, private with groups:write); the bot is in it.

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

`POST https://app.slaiky.xyz/api/methods/conversations.create` · needs `channels:manage` or `groups:write`

## Arguments

| Argument | Type | Required | What |
| --- | --- | --- | --- |
| `name` | string | yes | 1–80 characters. |
| `isPrivate` | boolean | no | Default `false`. |
| `purpose` | string | no | Up to 250 characters. |

## Answer

`{ "ok": true, … }` with: channel: MyChannel. 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.create \
  -H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
  -H 'content-type: application/json' \
  -d '{"name":"<name>"}'

```
