# conversations.list

> Conversations the bot is in, and the public channels it could join (with channels:read).

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

`POST https://app.slaiky.xyz/api/methods/conversations.list` · needs the bot token

## Arguments

| Argument | Type | Required | What |
| --- | --- | --- | --- |
| `types` | array of `"channel"` / `"group"` / `"im"` / `"mpim"` | no | Kinds to list: channel (public), group (private), im (DM), mpim (group DM). Default: all the app may read. Up to 4 items. |
| `excludeArchived` | boolean | no | Default `false`. |

## Answer

`{ "ok": true, … }` with: member: MyChannel[], public: Channel[]. 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.list \
  -H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
  -H 'content-type: application/json' \
  -d '{}'

```
