# pins.list

> The pinned messages of a conversation.

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

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

## Arguments

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

## Answer

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

```
