Slaikydocs

    You say#lists.create

    lists.create

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

    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

    ArgumentTypeRequiredWhat
    titlestringnoUp to 120 characters.
    emojistringnoUp to 16 characters, may be null.
    descriptionstringnoUp to 1,000 characters.
    channelIdidno
    fieldsarray of objectnoUp to 50 items.
    viewsarray of objectnoUp to 30 items.
    itemsarray of valuenoUp to 500 items.
    sharesarray of objectnoUp 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).

    Example

    The required arguments, with placeholders in angle brackets.

    you run
    
    curl -s https://app.slaiky.xyz/api/methods/lists.create \
      -H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
      -H 'content-type: application/json' \
      -d '{}'
    

    Updated . Every method, scope, event and limit here is generated from the server’s own code.