Slaikydocs

    You say#methods

    Web API methods

    All 61 methods, what each one does and what it needs.

    POST https://app.slaiky.xyz/api/methods/<method> with Authorization: Bearer slk-bot-… and a JSON body. Every answer is { "ok": true, … } or { "ok": false, "error": { "code", "message" } } (guide). The same catalog is the server’s OpenAPI: https://app.slaiky.xyz/api/openapi.json.

    Tokens

    MethodWhat it doesNeeds
    auth.testThe bot user behind the token (checks that the token works), its app and the permissions it holds.the bot token

    Socket Mode

    MethodWhat it doesNeeds
    apps.connections.openA one-time WebSocket URL for Socket Mode (valid a few seconds).the bot token

    Messages

    MethodWhat it doesNeeds
    chat.postMessagePost a message (or a thread reply) as the bot, where it is a member.chat:write
    chat.updateEdit a message the bot posted.chat:write
    chat.deleteDelete a message the bot posted (it disappears for everyone).chat:write
    chat.postEphemeralShow a message to one person only (not stored in history).chat:write
    chat.getPermalinkThe link to a message, for people of the workspace.the conversation's :history

    Reactions

    MethodWhat it doesNeeds
    reactions.addReact to a message.reactions:write
    reactions.removeRemove the bot’s reaction.reactions:write
    reactions.getThe reactions on a message.reactions:read

    Pins

    MethodWhat it doesNeeds
    pins.addPin a message in its conversation.pins:write
    pins.removeUnpin a message.pins:write
    pins.listThe pinned messages of a conversation.pins:read

    tabs

    MethodWhat it doesNeeds
    tabs.listA conversation’s tabs (the row under its header): Messages first, then its canvas, files, pins, workflows and what people added (canvases, boards, lists, saved views, workflows, links, folders).tabs:read
    tabs.addAdd a tab to a conversation the bot is in: an item by id (canvas, board, list, view, workflow; file inside a folder), a link or a folder.tabs:write
    tabs.editRename, hide or show, move (after/before a tab, into or out of a folder) a tab, or change a link’s address.tabs:write
    tabs.removeRemove a tab (a folder takes what’s in it along).tabs:write

    calls

    MethodWhat it doesNeeds
    calls.listRecent calls of a conversation the bot is in, newest first: when each started and ended, and who was in it for how long.calls:read
    calls.infoOne call in a conversation the bot is in: when it started and ended, and who was in it for how long.calls:read

    Conversations

    MethodWhat it doesNeeds
    conversations.listConversations the bot is in, and the public channels it could join (with channels:read).the bot token
    conversations.infoOne conversation: name, topic, purpose, kind, people count.the conversation's :read
    conversations.membersWho is in a conversation: people, and the apps apart.the conversation's :read
    conversations.historyMessages of a conversation, newest page first (thread replies excluded unless also sent to the channel).the conversation's :history
    conversations.repliesA thread: the root message and its replies.the conversation's :history
    conversations.joinJoin a public channel.channels:join
    conversations.leaveLeave a channel (channels:join for a public one, groups:write for a private one).channels:join or groups:write
    conversations.openOpen (or find) a DM or a group DM with up to 8 members.im:write or mpim:write
    conversations.createMake a channel (public with channels:manage, private with groups:write); the bot is in it.channels:manage or groups:write
    conversations.inviteAdd people to a channel the bot is in.the conversation's channels:manage / groups:write
    conversations.setTopicSet a channel’s topic.the conversation's channels:manage / groups:write
    conversations.setPurposeSet a channel’s purpose.the conversation's channels:manage / groups:write
    conversations.renameRename a channel the bot made.the conversation's channels:manage / groups:write
    conversations.archiveArchive a channel the bot made.the conversation's channels:manage / groups:write
    conversations.unarchiveBring back a channel the bot archived.the conversation's channels:manage / groups:write

    Files

    MethodWhat it doesNeeds
    files.getUploadURLWhere to send a file’s bytes: POST them (raw body) to uploadUrl within a few minutes, then call files.completeUpload.files:write
    files.completeUploadFinish uploads and share the files in a conversation, with an optional message.files:write
    files.infoOne file the bot can see.files:read
    files.listFiles shared in a conversation the bot is in (newest first), or the bot’s own uploads.files:read

    People

    MethodWhat it doesNeeds
    users.listEvery member of the workspace (people and bots).users:read
    users.infoOne member, by id or @handle.users:read
    users.lookupByEmailThe member with this e-mail address, if any (the address itself is never listed).users:read.email

    Workspace

    MethodWhat it doesNeeds
    team.infoThe workspace: name, address, icon.team:read

    lists

    MethodWhat it doesNeeds
    lists.listLists the bot can open (newest first): shared with it, with a channel it is in, or with everyone.lists:read
    lists.infoOne list with its fields, views and every item (values by field key).lists:read
    lists.createMake a list owned by the bot: given fields, views and items, or the default ones (Status, Assignee, Due date).lists:write
    lists.items.addAdd 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).lists:write
    lists.items.updateChange items: only the values that change (null clears one), a title, archived, or a move (parentId, after, before).lists:write
    lists.items.removeDelete items for good (their subtasks too).lists:write
    lists.comments.addComment on an item (Markdown; @handles of people who can open the list notify them).lists:write

    Commands

    MethodWhat it doesNeeds
    commands.respondAnswer a slash command or a click with its response token (the responseUrl does the same without a token).the bot token

    Modals and Home

    MethodWhat it doesNeeds
    views.openOpen a modal for the person who just acted (the triggerId of their command, click or shortcut).the bot token
    views.pushPut a modal on top of the one the person has open (up to three).the bot token
    views.updateChange an open modal (or a Home).the bot token
    views.publishDraw a person’s Home tab of this app (the app has Home turned on).the bot token

    Manifests (configuration token)

    MethodWhat it doesNeeds
    apps.manifest.validateCheck a manifest.a configuration token
    apps.manifest.createMake an app from a manifest, as the token’s member.a configuration token
    apps.manifest.updateMake an app what a manifest says.a configuration token
    apps.manifest.exportAn app as a manifest.a configuration token
    apps.manifest.deleteRemove an app (its bot leaves, its token stops).a configuration token

    Configuration tokens

    MethodWhat it doesNeeds
    tooling.tokens.rotateTrade a configuration refresh token (slk-cfr-…, once) for a new token pair.no token

    Add to Slaiky

    MethodWhat it doesNeeds
    oauth.v2.accessAdd to Slaiky: trade the install code for that workspace’s bot token (client id and secret).no token

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