# lists.create

> Make a list owned by the bot: given fields, views and items, or the default ones (Status, Assignee, Due date).

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

With channelId (a channel the bot is in), shared with it and added to its tabs.

`POST https://app.slaiky.xyz/api/methods/lists.create` · needs `lists:write`

## Arguments

| Argument | Type | Required | What |
| --- | --- | --- | --- |
| `title` | string | no | Up to 120 characters. |
| `emoji` | string | no | Up to 16 characters, may be `null`. |
| `description` | string | no | Up to 1,000 characters. |
| `channelId` | id | no |  |
| `fields` | array of object | no | Up to 50 items. |
| `views` | array of object | no | Up to 30 items. |
| `items` | array of value | no | Up to 500 items. |
| `shares` | array of object | no | Up to 100 items. |
| `workspaceAccess` | `"none"` / `"view"` / `"edit"` | no |  |

## Answer

`{ "ok": true, … }` with: list: List, fields: ListField[], views: ListView[], items: ListItem[]. 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/lists.create \
  -H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
  -H 'content-type: application/json' \
  -d '{}'

```
