# calls.list

> Recent calls of a conversation the bot is in, newest first: when each started and ended, and who was in it for how long.

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

`POST https://app.slaiky.xyz/api/methods/calls.list` · needs `calls:read`

## Arguments

| Argument | Type | Required | What |
| --- | --- | --- | --- |
| `channel` | string | yes | Channel id, or "#name" for channels. 1–81 characters. |
| `limit` | integer | no | 1–50, default `20`. |

## Answer

`{ "ok": true, … }` with: calls: Call[]. 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/calls.list \
  -H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
  -H 'content-type: application/json' \
  -d '{"channel":"#general"}'

```
