# lists.items.add

> Add items to a list the bot can edit: a title and values by field key (select and status by option id, people by member id, dates YYYY-MM-DD).

Source: https://slaiky.xyz/docs/reference/methods/lists.items.add

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

## Arguments

| Argument | Type | Required | What |
| --- | --- | --- | --- |
| `list` | id | yes |  |
| `items` | array of object | yes | Up to 500 items. |

## Answer

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

```
