API reference
Assistant: Lists
The everyday lists the assistant keeps with you: shopping, packing, reading, watchlists, gift ideas and checklists. Read them, make and rename lists, add, change, tick off and remove items, and manage the private links you share a list with. The same lists as in the app and in your conversations with the assistant. 14 endpoints. Add your API key in the authentication panel to send test requests from this page.
List your lists
/api/external/v1/assistant/listsYour lists with all their items, pinned lists first, then the one changed last.
Each list carries id, title, kind (SHOPPING, PACKING, READING, WATCHLIST, GIFTS, CHECKLIST or CUSTOM), notes, pinned, color, projectId (the project it belongs to, or null), uncheckedCount, checkedCount, activeShareCount (live share links), createdAt, updatedAt and items (unchecked first, then by position). Each item has id, text, quantity, category, note, checked, position, createdAt, updatedAt.
Filters: kind, projectId, and q (words in a title, the notes or an item's text). At most 100 lists are answered, which is also the most a person can have.
Errors: 400 INVALID_KIND for a kind there is none of.
Parameters
kindstringqueryOnly lists of this kind: SHOPPING, PACKING, READING, WATCHLIST, GIFTS, CHECKLIST or CUSTOM.
projectIdstring (uuid)queryOnly lists that belong to this project (its id).
qstringqueryOnly lists whose title, notes or an item's text contain this.
Responses
200OK
Create a list
/api/external/v1/assistant/listsMakes a new list, optionally with its first items, and answers it (201).
Fields, all optional:
title(at most 160 characters). Without one the list is named after its kind ("Shopping list", "Packing list", ...). A title another of your lists has gets a number: "Groceries (2)".kind: SHOPPING, PACKING, READING, WATCHLIST, GIFTS, CHECKLIST or CUSTOM. Without one it is told from the title.notes(at most 600 characters),pinned(true/false),color(slate, blue, violet, amber, rose, emerald, cyan or orange),projectId(a project of yours).items: texts, or objects withtext(at most 280 characters),quantity,category(at most 80 each) andnote(at most 300). The same text twice is kept once.
Rules: at most 100 lists, at most 300 items on a list. Card numbers and IBANs are never stored in a list.
Errors: 400 INVALID_KIND, INVALID_COLOR, INVALID_ID, SENSITIVE_NUMBER, ITEM_LIMIT; 409 LIST_LIMIT.
Request body application/json
object
Responses
200OK
Read a list
/api/external/v1/assistant/lists/{listId}One list with all its items (the shape of each list in GET /assistant/lists).
Errors: 404 LIST_NOT_FOUND when it is not one of your lists.
Parameters
listIdstring (uuid)pathRequired
Responses
200OK
Rename or change a list
/api/external/v1/assistant/lists/{listId}Changes what is sent and keeps the rest: title (at most 160 characters; it cannot be emptied, and no other list of yours may have it), kind, notes (empty or null clears them), pinned, color (null clears it), projectId (null takes the list out of its project). Answers the list as it now is.
Errors: 404 LIST_NOT_FOUND; 400 EMPTY_TITLE, INVALID_KIND, INVALID_COLOR, INVALID_ID, SENSITIVE_NUMBER; 409 TITLE_TAKEN.
Parameters
listIdstring (uuid)pathRequired
Request body application/json
object
Responses
200OK
Delete a list
/api/external/v1/assistant/lists/{listId}Deletes the list with its items and its share links, for good. Answers 204.
Errors: 404 LIST_NOT_FOUND.
Parameters
listIdstring (uuid)pathRequired
Responses
200OK
Remove the ticked items
/api/external/v1/assistant/lists/{listId}/clear-checkedRemoves every ticked-off item from the list for good. Answers changed (how many were removed) and list as it now is.
Errors: 404 LIST_NOT_FOUND.
Parameters
listIdstring (uuid)pathRequired
Responses
200OK
Add items to a list
/api/external/v1/assistant/lists/{listId}/itemsAdds one item or many, and answers the list as it now is.
Send items (texts, or objects with text, quantity, category, note), or one item as text with its quantity, category and note. An item whose text the list already has (in any case) is not added twice: it is unchecked again and takes the quantity, category and note sent.
Limits: text at most 280 characters, quantity and category 80, note 300; at most 300 items on a list. Card numbers and IBANs are never stored.
Errors: 404 LIST_NOT_FOUND; 400 MISSING_FIELD when no item is sent, SENSITIVE_NUMBER; 409 ITEM_LIMIT.
Parameters
listIdstring (uuid)pathRequired
Request body application/json
object
Responses
200OK
Change an item
/api/external/v1/assistant/lists/{listId}/items/{itemId}Changes what is sent and keeps the rest: text (cannot be emptied), quantity, category, note (null or empty clears each of those) and checked (true ticks it off, false puts it back). Answers the list as it now is.
Errors: 404 LIST_NOT_FOUND, ITEM_NOT_FOUND; 400 EMPTY_TEXT, SENSITIVE_NUMBER.
Parameters
listIdstring (uuid)pathRequireditemIdstring (uuid)pathRequired
Request body application/json
object
Responses
200OK
Remove an item
/api/external/v1/assistant/lists/{listId}/items/{itemId}Removes the item from the list for good. Answers 204.
Errors: 404 LIST_NOT_FOUND, ITEM_NOT_FOUND.
Parameters
listIdstring (uuid)pathRequireditemIdstring (uuid)pathRequired
Responses
200OK
Tick items off
/api/external/v1/assistant/lists/{listId}/items/checkTicks off several items at once, named by itemIds and/or texts. A text names every item whose text is it or contains it, ignoring case ("milk" ticks off "Oat milk" too). Answers changed (how many items it ticked off) and list as it now is; naming nothing that is on the list changes nothing.
Errors: 404 LIST_NOT_FOUND; 400 MISSING_FIELD when neither itemIds nor texts is sent, INVALID_ID.
Parameters
listIdstring (uuid)pathRequired
Request body application/json
object
Responses
200OK
Put ticked items back
/api/external/v1/assistant/lists/{listId}/items/uncheckUnticks several items at once, named by itemIds and/or texts (as in items/check). Answers changed and list as it now is.
Errors: 404 LIST_NOT_FOUND; 400 MISSING_FIELD when neither itemIds nor texts is sent, INVALID_ID.
Parameters
listIdstring (uuid)pathRequired
Request body application/json
object
Responses
200OK