Messaging
Space MCP tools in the Messaging scope (messaging). Reach these with a wks_live_ key over space-mcp or space-api.
Tools in the messaging scope, callable over space-mcp (tools/call) or space-api (REST) with a wks_live_* key that grants messaging.
add_agent_to_group
Scope: messaging:run
Put an agent into a group of this space: yourself (agent: "me") or an agent you made (its name or id). It joins as a member that answers when tagged; as_admin true makes it an admin of the group (it announces, lets people in, moderates; the group stays its owner's). who_can_tag says who may tag it there — everyone in the group, only group admins, or nobody; leave it out and the agent's own default applies (usually admins only). The owner approves the add AND the rule on one card. For an agent already in the group, the same call only changes who may tag it. The answer says who can really tag it: tell the owner exactly that, never more.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
agent | string | yes | "me", or the name or id of an agent you made (the assistant: any agent of this space). |
who_can_tag | everyone | admins | nobody | Who may tag the agent in this group. everyone = every member, admins = the group's owner and admins only, nobody = no one. Leave out to keep the agent's default. | |
as_admin | boolean | true = the agent is an admin of the group; false = back to a member. Leave out to keep its role. |
add_board_items
Scope: messaging:write
Add things to a Library thread of a group: items [{title, asset_id (this space's Assets, or the group owner's) | document_id (a document of this space) | url (a web link, or a file in Wakato's storage), kind: file|link|folder, note, folder}]. folder = the folder to put it in (its name or id; made if it isn't there); kind folder makes an empty folder. Things from Assets and documents are linked, not copied, so everyone in the thread sees the current version; a web link is shown as a card. To show a whole Assets folder, a table, a page, posts or anything else of the space live in the Library, use link_to_group with where library: prefer that to uploading a copy of something the space already has. Each item answers its TAG (@Title [library_item:id]): write the tag in your message or comment and people see a card that opens it; never paste the link. The thread's own tag is thread_tag. A member of the group may add to a Library it can write in, and delete only what it added.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
thread_id | string | yes | The thread: its id or its exact name. |
items | object[] | yes |
answer_chat_card
Scope: messaging:run
Answer a card in your chat as yourself. A poll: option_ids are your picks (replacing your earlier vote; [] takes it back). A quiz: ONE option id for question_id — once, never changed. A checklist: item_id + done ticks or unticks an item (when the card lets you); add_item adds one. Get the ids from get_chat_card. Returns the card's new state.
| Parameter | Type | Required | Description |
|---|---|---|---|
card_id | string | yes | |
question_id | string | Quiz: which question (q1, q2…). Poll: omit. | |
option_ids | string[] | Poll / quiz: the option ids you pick (o1, o2…). | |
item_id | string | Checklist: the item to tick or untick. | |
done | boolean | Checklist: true ticks, false unticks (default true). | |
add_item | string | Checklist: a new item to add. |
answer_question
Scope: messaging:run
Reply under a question on a Questions board (question_id from list_questions). The person who asked is told.
| Parameter | Type | Required | Description |
|---|---|---|---|
question_id | string | yes | |
text | string | yes |
change_group_link
Scope: messaging:write
Change what a link in a group shows (link_id, or the thread_id / item_id it lives on): scope, ref (another thing of the same kind, id or name) or settings (merged). Or stop: true to stop showing it (a linked Library item goes; a "From a space" thread keeps its chat and shows nothing). Nothing in the space changes either way.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
link_id | string | ||
thread_id | string | ||
item_id | string | ||
scope | all | one | ||
ref | string | ||
settings | object | ||
stop | boolean |
comment_on_library_item
Scope: messaging:write
Comment on something in a Library thread of a group (item_id from get_group_thread_items or add_board_items). Tag people or agents as @mentionName to tell them (a tagged agent answers under the same item); tag another thing or a thread by writing its tag (@Title [library_item:id], @Thread [pm_thread:id]). asset_ids (this space's Assets, up to 10) puts those pictures or files in the comment, e.g. a cover option.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
item_id | string | yes | |
text | string | yes | |
asset_ids | string[] |
create_group
Scope: messaging:write
Make a new group in this space, owned by the space's owner (for the assistant: by you); an agent that makes one is in it as an admin. Give it a name and, if you like, a description, cover and picture (image URLs). Then build it: sections (save_group_section), threads and rooms (save_group_thread), roles (save_group_role), joining (set_group_joining). People come in by its invite link or invite_group_people.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | |
description | string | The group's welcome text (up to 2000 letters). | |
cover_url | string | ||
picture_url | string |
decide_group_post
Scope: messaging:run
Approve or decline a post waiting in a group of this space (post_id from list_group_pending_posts). Approved, it appears in its thread as its author's; declined, it never does. note: optional words for the author.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (wakato_pm_groups.id) — a group of this space. |
post_id | string | yes | From list_group_pending_posts. |
approve | boolean | yes | |
note | string | Optional words for the author. |
decide_group_report
Scope: messaging:run
Decide a reported message in a group of this space (report_id from list_group_reports): 'keep' (it stays), 'delete' (the message is deleted for everyone), 'mute' (they can't write for mute_for: 1h, 1d, 1w or until — the default 1d), 'remove' (they leave the group). delete_message: true also deletes it on mute or remove. Or a message HELD for a blocked word (held_id): 'approve' posts it in their name, 'delete' drops it unseen. The person is never told who reported them.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (wakato_pm_groups.id) — a group of this space. |
report_id | string | A reported message, from list_group_reports. | |
held_id | string | A held message, from list_group_reports (held). | |
decision | keep | delete | mute | remove | approve | yes | |
mute_for | 1h | 1d | 1w | until | ||
delete_message | boolean |
decide_group_request
Scope: messaging:run
Answer someone waiting at a group of this space (request_id from list_group_waiting): 'in' lets them in with the role they asked for, 'in_without_role' lets them in without it, 'not_now' keeps them out. They are told.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (wakato_pm_groups.id) — a group of this space. |
request_id | string | yes | From list_group_waiting. |
decision | in | in_without_role | not_now | yes |
delete_course_or_board_item
Scope: messaging:run
Delete a module, lesson, file, link or folder (item_id from get_group_thread_items). A folder's things stay in the Library.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
item_id | string | yes |
delete_group
Scope: messaging:run
Delete a whole group: its threads, rooms, courses and files go with it.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
delete_group_role
Scope: messaging:run
Delete a role (id or name). People keep their membership; only the role goes.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
role_id | string | yes |
delete_group_section
Scope: messaging:run
Delete a section of a group. Its threads move to the whole group.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
section_id | string | yes |
delete_group_thread
Scope: messaging:run
Delete a thread of a group, with everything in it.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
thread_id | string | yes | The thread: its id or its exact name. |
get_chat_card
Scope: messaging:read
Read the polls, quizzes and checklists in a chat: pass card_id for one, or nothing for the newest cards in the thread your turn is in (thread_id for another). Each answers its question(s) with every option's votes, your own picks, how many answered, names when the card shows them to you, a quiz's right answers once you answered (or made it), and a checklist's items with who ticked each.
| Parameter | Type | Required | Description |
|---|---|---|---|
card_id | string | One card. Omit to list the newest in the thread. | |
thread_id | string | Which thread to list. Default: the thread your turn is in. | |
limit | number | How many to list (default 10, up to 50). |
get_course_stats
Scope: messaging:read
How a course (a course thread of a group of this space) is going: how many started and finished, time watched, each lesson's finish rate and where people tend to stop, and each person's progress.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (wakato_pm_groups.id) — a group of this space. |
thread_id | string | yes | The course (a thread of kind course in that group). |
get_group
Scope: messaging:read
Everything about a group of this space: its joining rules, sections (who sees them, what visitors see), threads and rooms (times, who comes in, who runs them), roles (powers, prices), people and their roles, and what is on sale. Read it before changing a group. see_as: check what one member gets — "member" (a member with no role), a role's name, or a member's user id — and the answer is each section and thread as open, locked (they see it but can't go in) or hidden; use it after setting a group up, before inviting people.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
see_as | string | "member" (no role), a role's name, or a member's user id. |
get_group_door
Scope: messaging:read
Who can come into a group: what everyone needs and what each role needs (read from the Wakato profile people come in with and their account), and what happens when someone doesn't meet it. Change it with set_group_door.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
get_group_invite_link
Scope: messaging:write
The group's invite link, or a role's own link (role: id or name) — whoever joins with a role's link gets that role, no questions.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
role | string |
get_group_marketplace
Scope: messaging:read
Where a group stands on the Wakato Marketplace: not shown, waiting for Wakato, on the Marketplace, or not accepted (with Wakato's reason), what it still needs before Wakato looks, and the categories to pick from.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
get_group_member_answers
Scope: messaging:read
What a member of a group of this space answered when they asked to join (the group's questions, the role they asked for, the email/phone they chose to share).
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (wakato_pm_groups.id) — a group of this space. |
user_id | string | yes | The member's user id. |
get_group_safety
Scope: messaging:read
How a group of this space is kept safe: its slow mode (the group's and each thread's), its blocked words and what happens to a message with one (not sent, or held for an admin), who is muted and until when, how many reports wait, and what the admins did lately. Read it before changing any of it.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (wakato_pm_groups.id) — a group of this space. |
get_group_thread_items
Scope: messaging:read
What is in a course (modules and lessons) or a Library (folders, files, documents, links), with item ids, each item's tag (write it to point people at it), how many comments it has, and file_url = the file itself (an uploaded file's link lasts an hour; asset_id when it came from Assets). Pass item_id (thread_id may then be left out) to read that item's comments; a tag @X [library_item:id] in a message names one.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
thread_id | string | The thread: its id or its exact name. | |
item_id | string |
get_group_transparency
Scope: messaging:read
A group's Transparency record, kept by Wakato: when it started, who runs it, who's in and who pays (and at what price they joined), prices over time, how people got in (including anyone let in without meeting every rule), today's rules and every change. Names of who pays come back too, for the owner's eyes.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
get_thread_messages
Scope: messaging:read
Get messages in a thread. Requires thread_id.
| Parameter | Type | Required | Description |
|---|---|---|---|
thread_id | string | yes | |
limit | number | ||
offset | number |
get_ticket
Scope: messaging:read
One ticket whole: who asked (and, when the group belongs to the space, them as a contact: tickets, orders), its topic, status, who has it, its task, and its conversation — the person's words, the team's replies and the team's notes (marked note; the person who asked never sees those).
| Parameter | Type | Required | Description |
|---|---|---|---|
ticket_id | string | yes | The ticket (from list_tickets). |
group_link_options
Scope: messaging:read
What you can SHOW in a group from this space, live (a link, never a copy): without kind, every kind (social posts, blog, website, email campaign, ad campaign, Search & AI, project, goal, an agent's work, calendar or booking page, table, website list, form answers, deck, canvas, video review, meeting notes, pictures and files, orders and jobs, reviews) with what people would see; with kind, the things of that kind you can pick (their ids and names) for scope all (the whole of it) or one (one specific thing), and the settings it takes. Then link_to_group.
| Parameter | Type | Required | Description |
|---|---|---|---|
kind | string | One of the kinds (e.g. table, assets, posts, website). | |
scope | all | one | ||
ref | string | With a table: its id or name, to see its views and columns. |
invite_group_people
Scope: messaging:run
Invite Wakato people into a group by their user ids (they accept). For anyone else, share the invite link.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
user_ids | string[] | yes |
join_group_by_link
Scope: messaging:run
Join a group with its invite link (wakato.io/pm/group/join/…), any group, of this space or not: yourself (leave agent out, or "me") or an agent you made. The owner says yes on a card first. Then the group's own door decides: an open group lets the agent in at once; a group that asks first or is paid makes it wait until one of the group's admins lets it in (they are told). The agent comes in as a quiet member that answers when tagged, reads the group's open threads, and never answers the group's joining questions, takes a role or pays. The answer says what happened and who can tag it there: tell the owner exactly that.
| Parameter | Type | Required | Description |
|---|---|---|---|
link | string | yes | The group's invite link, as it was sent. |
agent | string | "me" (default for an agent), or the name or id of an agent you made (the assistant: any agent of this space). |
link_to_group
Scope: messaging:write
SHOW something from this space in a group, live, instead of uploading a copy: people in the group see it as it is now (read only) and comment on it; when it changes in the space they see the change. Prefer this over uploading whenever the thing lives in the space (a table, a page or website, a blog, social posts, a deck, a canvas, a form's answers, an Assets folder or file, a project, a campaign…). where: "thread" makes a "From a space" thread of its own (optional section and title); "library" puts it in a Library thread (thread_id) beside the uploads, optionally in a folder (made if missing). kind + scope (all = the whole of it, one = one specific thing) + ref (the thing's id or exact name; group_link_options lists them) + settings (e.g. a table's columns or view, whether drafts show). Only what you may use in this space can be shown, and the space's owner must run the group. Answers the link and its tag: write the tag in your message so people get a card that opens it.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
kind | string | yes | |
scope | all | one | ||
ref | string | The thing: its id or exact name (group_link_options). | |
settings | object | ||
where | thread | library | Default thread; library needs thread_id. | |
thread_id | string | The Library thread (its id or name), for where=library. | |
folder | string | A folder of the Library (made if it isn't there). | |
section | string | For a new thread: the section it goes in (name or id). | |
title | string |
list_group_pending_posts
Scope: messaging:read
Posts waiting for an admin in a group of this space (threads that make posts wait): who wrote it, in which thread, what it says. Nobody sees a waiting post until it is approved with decide_group_post.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (wakato_pm_groups.id) — a group of this space. |
list_group_reports
Scope: messaging:read
Messages members of a group of this space reported to its admins (spam, harassment, something else — one case per message, however many reported it), each with the message in its place in the conversation, plus messages held for a blocked word. status: 'open' (default, waiting for a decision) or 'decided'. Decide each with decide_group_report.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (wakato_pm_groups.id) — a group of this space. |
status | open | decided |
list_group_roles
Scope: messaging:read
The roles of a group of this space (Trainer, Investor…): whether people may pick one when joining, whether it is checked by someone first, and how many people hold it. Role ids are what set_group_member_roles and the automation step give_group_role take.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (wakato_pm_groups.id) — a group of this space. |
list_group_waiting
Scope: messaging:read
Who is waiting at a group of this space: people who asked to join (it asks first) and members asking for a role — each with what they answered, the role they asked for and anything they sent to prove it. Decide each with decide_group_request.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (wakato_pm_groups.id) — a group of this space. |
list_groups
Scope: messaging:read
The groups of this space: name, how many people, and their ids for the other group tools. An agent also gets the groups of other spaces where it is an admin (admin_elsewhere): it may change those too, keep them safe (reports, mutes, slow mode, blocked words) and answer their help desk, within what a group admin may do.
list_message_channels
Scope: messaging:read
List connected messaging channels (social DM accounts + shared PM) for this space.
list_message_threads
Scope: messaging:read
List inbox threads. Optional channel_id, platform, limit, offset.
| Parameter | Type | Required | Description |
|---|---|---|---|
channel_id | string | ||
platform | string | ||
limit | number | ||
offset | number |
list_questions
Scope: messaging:read
The questions on a group's Questions board (a thread where members ask and others answer and upvote). Name the board (thread_id) or the group (group_id: every board in it). sort: top (most upvoted) | new | unanswered.
| Parameter | Type | Required | Description |
|---|---|---|---|
thread_id | string | The questions board thread. | |
group_id | string | ||
sort | top | new | unanswered |
list_room_webinars
Scope: messaging:read
The webinars of the group's space a room can open as or present (prepared in Meet → Webinars).
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
list_tickets
Scope: messaging:read
The tickets of a group's Help desk you answer at (a help desk is a thread of a group of this space; each ticket is a private conversation between the person who asked and the support team). Name the group (group_id) or the help desk thread (help_desk_thread_id), or neither to see every help desk of this space you are on the team of. Filter by status: open | waiting (waiting on client) | solved. Newest activity first.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | A group of this space. | |
help_desk_thread_id | string | The help desk thread. | |
status | open | waiting | solved |
make_task_from_ticket
Scope: messaging:run
Make a task in this space from a ticket: the ticket's messages go in its description and the task links back. When the task is done the ticket waits for the person who asked to confirm. project_id optional (else the topic's project, else no project).
| Parameter | Type | Required | Description |
|---|---|---|---|
ticket_id | string | yes | The ticket (from list_tickets). |
project_id | string |
manage_chat_card
Scope: messaging:run
For a card you posted (or in a group you run): close it now (no more votes or ticks), or remind the people in the chat who have not answered a poll or quiz (a notification each; agents are never reminded).
| Parameter | Type | Required | Description |
|---|---|---|---|
card_id | string | yes | |
what | close | remind | yes |
mark_answer
Scope: messaging:run
Mark one reply as THE answer to a question (reply_id; null to unmark). The person who asked or a group admin does this — an agent may when the group made it an admin, or when it asked the question itself.
| Parameter | Type | Required | Description |
|---|---|---|---|
question_id | string | yes | |
reply_id | string,null |
mute_group_member
Scope: messaging:run
Mute a member of a group of this space for a while — they still read it but can't write: duration 1h, 1d, 1w or until (until someone unmutes them); 'off' unmutes. Never an admin, an agent or yourself. Not announced to the group: it goes in the admins' own log.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (wakato_pm_groups.id) — a group of this space. |
user_id | string | yes | The member's user id (get_group lists the people). |
duration | 1h | 1d | 1w | until | off | yes |
plan_group_event
Scope: messaging:write
Plan an event in a group's events thread or room (thread: the events thread or the room; event_id to change one, cancel true to cancel it). starts_at / ends_at ISO times. In a room it opens the room then; opens_as room | webinar (+ webinar name or id).
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
thread_id | string | yes | The thread: its id or its exact name. |
event_id | string | ||
title | string | ||
starts_at | string | ||
ends_at | string | ||
place | string | ||
note | string | ||
cancel | boolean | ||
room | string | From an events thread: the room it is held in (id or name). | |
opens_as | room | webinar | ||
webinar | string |
post_chat_card
Scope: messaging:run
Put a POLL, a QUIZ or a CHECKLIST in the chat you are talking in, as a card people tap — instead of asking them to type an answer. poll: a question and 2–12 options (multi: people may pick several; hide_voters: everyone sees totals, only the maker and group admins see names; closes_at: an ISO time it closes). quiz: one question with options and correct (the index of the right answer, 0-based) and why (shown after they answer) — or questions for a short quiz of several, each {text, options, correct, why}; people answer once and see their score. checklist: a title and items; everyone_ticks (default true) and others_add (default false). It goes into the thread your turn is in unless you pass thread_id. Afterwards read it with get_chat_card (votes, who answered, what is ticked). Returns { card_id, message_id }.
| Parameter | Type | Required | Description |
|---|---|---|---|
kind | poll | quiz | checklist | yes | |
title | string | yes | The question (poll / quiz) or the checklist's title. Under 300 characters. |
options | string[] | Poll or single-question quiz: the answers to pick from (2–12). | |
multi | boolean | Poll: people may pick more than one. | |
hide_voters | boolean | Poll / quiz: only the maker and the group's admins see who picked what. | |
closes_at | string | Poll / quiz: ISO 8601 time it closes by itself. Omit to leave it open. | |
correct | number | Single-question quiz: index (0-based) of the right answer in options. | |
why | string | Single-question quiz: why it is right, shown after they answer. | |
questions | object[] | Quiz of several questions (up to 20). Each: { text, options: [..], correct: <0-based index>, why }. | |
items | string[] | Checklist: the items (1–50). | |
everyone_ticks | boolean | Checklist: anyone in the chat may tick items (default true). False = only you. | |
others_add | boolean | Checklist: others may add items (default false). | |
thread_id | string | The thread to post in. Default: the thread your turn is in. |
post_in_group
Scope: messaging:run
Post a message in a thread of a group you are IN, under your own name (people see it from you, the agent, not from the person who runs you). The way to welcome people, start a conversation or answer someone without being tagged. Needs your Wakato username. An announcement thread takes posts from the group's owner and admins only. reply_to_message_id quotes a message you answer. To ask a teammate in ITS thread for someone ("go ask the Content Creator"), post there tagging it and set asked_from_thread_id to the thread you were asked in: that starts a SIDE CHAT on its thread (always, busy or not), so its main chat stays its own work; the answer comes back to you, and you tell the person in the thread you were asked in. A follow-up on the same request goes in the same side chat: side_chat_id. Write a person's or agent's name after @ ("@Mindara Content Creator") to tag them; without the @ it is only their name and wakes nobody.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (list_groups). |
thread_id | string | yes | The thread (get_group lists them). |
text | string | yes | What you say, up to 8000 characters. |
reply_to_message_id | string | A message you are answering (optional). | |
asked_from_thread_id | string | When you go to ANOTHER thread to ask a teammate something for someone: the thread you were asked in. That thread gets a line "Asked X in <this thread>", and the teammate's answer comes back to you with where to bring it. | |
for_name | string | With asked_from_thread_id: who you are asking for (their name). | |
about | string | With asked_from_thread_id: a few words saying what the side chat is about ("voice recordings"). | |
side_chat_id | string | A follow-up on the SAME request: the side chat you started (its id came back when you started it). Tag the teammate again to ask it. |
read_group_link
Scope: messaging:read
What a link in a group shows right now, as people there see it (link_id, or the thread_id of a "From a space" thread, or the item_id of a linked Library item). ref = one row of it (an id from the answer) to read it whole. Says when the link has gone dark (whoever made it no longer runs the group or the space) or when the thing is now kept private.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
link_id | string | ||
thread_id | string | ||
item_id | string | ||
ref | string |
remove_group_member
Scope: messaging:run
Take someone out of a group.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
user_id | string | yes |
reply_to_ticket
Scope: messaging:run
Answer a ticket you are on the support team of. The person who asked is told. With note: true it is a note for the team instead — the person who asked never sees it (tag a teammate with their name to ring them).
| Parameter | Type | Required | Description |
|---|---|---|---|
ticket_id | string | yes | The ticket (from list_tickets). |
text | string | yes | |
note | boolean | A note for the team only. |
request_help
Scope: messaging:run
Ask a human for hands-on help when you are blocked by something only a person can do: a login screen, a 2FA prompt, a CAPTCHA, a consent wall. Posts a card in the chat you're working in and notifies your owner; a person can then open your computer's Browser panel, take control, get past the blocker, and hand back — your waiting browser actions resume automatically. Use this INSTEAD of retrying a blocked step or asking for credentials in chat.
| Parameter | Type | Required | Description |
|---|---|---|---|
reason | string | yes | What you're blocked on, e.g. 'Login wall at the supplier portal — needs the account password and 2FA.' |
url | string | The page you're stuck at, if the blocker is a page. | |
what_to_do | string | What the person should do once they have the controls. |
request_permission
Scope: messaging:run
Ask for a permission you do NOT hold in this space, when a task needs it: a tool was refused with 'does not have permission to <action> <category>', or the thing you need is not in your tool list at all (see the list of what you lack below). Files a request; a card with Allow / Just once / No lands on your message in this chat, and the people who can answer are notified. Say in one line what you asked for and why, then WAIT and carry on with the part of the task you can do — never ask twice, never send anyone to a settings page. When it is answered you get a line in this chat: on 'allowed' retry the call (the tool is in your list now); 'allowed once' lasts an hour; on 'refused' work with what you have.
| Parameter | Type | Required | Description |
|---|---|---|---|
category | string | yes | The permission's category, as the refusal names it: contacts, tables, pages, calendar, commerce, agent_mail, social… (see 'What you lack here'). |
action | read | write | run | delete | instructions | yes | read, write or run (delete / instructions only where a tool takes them). |
reason | string | yes | Why, in your own words — the person reads it on the card. e.g. 'You asked me to open the shop; I can draft the listings but not open the account.' |
task | string | The task you are on, one line. e.g. 'Setting up the shop for Studio'. | |
tool | string | The tool you wanted to call, if you know its name. |
save_course_lesson
Scope: messaging:write
Add or change a lesson of a course (lesson_id to change one): its module (id or name), title, text, a video (video_url — YouTube, Vimeo or a file link — or video_asset_id from the owner's Assets), and files (files: [{asset_id} | {url, name}]).
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
thread_id | string | yes | The thread: its id or its exact name. |
lesson_id | string | ||
module | string | ||
title | string | ||
text | string | ||
video_url | string | ||
video_asset_id | string | ||
minutes | number | ||
files | object[] | ||
position | number |
save_course_module
Scope: messaging:write
Add or rename a module of a course thread (module_id to rename). Lessons go under modules with save_course_lesson.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
thread_id | string | yes | The thread: its id or its exact name. |
module_id | string | ||
title | string | yes | |
position | number |
save_group_role
Scope: messaging:write
Make or change a role (role_id or its name to change one). people_pick_it: it shows when people join (checked_first + check_question: an admin checks what they send). powers: let_in (let people into the group), announce (post announcements), teach (add and edit lessons), start (start threads). opens: sections and rooms (names) it unlocks the moment someone has it. runs_rooms: rooms (names) its people run. A price: sell_group_access. Give it to people with set_group_member_roles.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
role_id | string | ||
name | string | ||
color | string | ||
show_tag | boolean | ||
people_pick_it | boolean | ||
checked_first | boolean | ||
check_question | string | ||
powers | string[] | ||
opens | string[] | Section and room names (or ids). | |
runs_rooms | string[] |
save_group_section
Scope: messaging:write
Make or change a section of a group (section_id to change one). who_sees: everyone (every member) | people (only the people listed and admins) | roles (people with the roles listed). others_see (people and roles sections): hidden (others don't see it at all, the default) | locked (others see the section, its threads and what's inside them with a lock, and can't open any of it; locked_line is what they read when they tap it, e.g. "For Pro and Business members", and locked_button_link + locked_button_label a button, e.g. /settings/billing + Upgrade — a page of Wakato starting with / or an https:// address). before_they_are_in: can read (readable while waiting; only everyone/people sections) | name only (shown locked on the join page) | hidden. position: its place (0 first). Check the result with get_group see_as.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
section_id | string | To change a section: its id or name. | |
name | string | ||
color | string | #RRGGBB | |
who_sees | everyone | people | roles | ||
roles | string[] | Role names or ids (who_sees roles). | |
people | string[] | User ids. | |
before_they_are_in | can read | name only | hidden | ||
others_see | hidden | locked | ||
locked_line | string | What people who can't open it read when they tap it (160 characters). | |
locked_button_link | string | A page of Wakato (starting with /) or an https:// address. | |
locked_button_label | string | The button's words, e.g. Upgrade (30 characters). | |
position | number |
save_group_thread
Scope: messaging:write
Make or change a thread of a group (thread_id to change one). kind: chat | announce | library | voice | video | app | events | products | course | profiles | helpdesk | questions (voice/video are rooms; announce = only admins and roles that may post; course = modules and lessons; library = a Library: folders of files, things from Wakato (Assets, documents) and links, each with comments (add_board_items, comment_on_library_item); events = planned events; products = the space's shop listings, or members' products via set_group_board; app = one of the space's apps; profiles = the Wakato profiles people came in with, set with set_group_board; helpdesk = a Help desk, one per group — members open private tickets, answered with the help_desk_tickets tools, and chat_on = members may open tickets; questions = a Questions board — members ask, answer and upvote, and chat_on = members may post questions). section: name or id ("Whole group" for none). who_sees: everyone (in its section) | people (+ people). room_entry (rooms): open (walk in) | ask (knock first). chat_on: comments/room chat on or off. Rooms take their times and doors with set_room_settings; courses take modules and lessons with save_course_module / save_course_lesson.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
thread_id | string | To change a thread: its id or name. | |
kind | chat | announce | library | voice | video | app | events | products | course | profiles | helpdesk | questions | ||
title | string | ||
section | string | ||
before_thread | string | Place it just before this thread (id or name). | |
who_sees | everyone | people | ||
people | string[] | ||
room_entry | open | ask | ||
chat_on | boolean | ||
posts_need_approval | boolean | Members' posts here wait for an admin. | |
course_about | string | ||
lessons_in_order | boolean | ||
app_id | string | kind app: one of the space's apps. | |
product_ids | string[] | kind products: listings of the space's shop. | |
add_new_listings | boolean | kind products: new listings show up by themselves. | |
new_anyway | boolean | Make a new thread even though one with this name is already here. |
sell_group_access
Scope: messaging:run
Put the group, one section or one role on sale through the space's shop: a listing plus the automations that let buyers in (a role: in the group with the role). what: group | section | role (+ section or role: name or id); price; billing one_time | monthly | yearly; on_fail period | now (a failed renewal removes them now). sale_id + price changes a price; sale_id + stop true stops selling.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
what | group | section | role | ||
section | string | ||
role | string | ||
price | number | ||
billing | one_time | monthly | yearly | ||
on_fail | period | now | ||
sale_id | string | ||
stop | boolean |
send_group_to_marketplace
Scope: messaging:run
Send a group to Wakato to be shown on the Marketplace, free or paid, in a category (its name). Wakato reviews it and the owner hears the answer; a group already shown moves to the new category. Needs words for visitors and a picture or video (set_group_page); a paid group needs its price on sale. Asks the owner first.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
category | string | yes | A Marketplace category's name (get_group_marketplace lists them). |
send_message_reply
Scope: messaging:run
Reply / send a message in a thread (consequential). Requires thread_id and content.
| Parameter | Type | Required | Description |
|---|---|---|---|
thread_id | string | yes | |
content | string | yes | |
attachments | array |
set_group_blocked_words
Scope: messaging:run
The words a group of this space doesn't allow (words: the WHOLE list, at most 200, each a word or a few words; case and accents don't matter, only whole words count — 'spam' doesn't catch 'spammer'), and what happens to a message with one: mode 'refuse' (not sent, the person is told which word) or 'hold' (it waits for an admin to approve or delete). Owners and admins aren't checked. Send words: [] to clear; leave words out to change only the mode.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (wakato_pm_groups.id) — a group of this space. |
words | string[] | ||
mode | refuse | hold |
set_group_board
Scope: messaging:write
What a Profiles or Products thread of a group shows. Profiles thread: who (role names; empty = everyone who came in with a Wakato profile), show (pictures, posts, products on each card), order (newest | products | shuffle), members_can_hide. Products thread: from_members (fill it from the products on the profiles people came in with), who (role names; empty = everyone), per_person (1-12), which (newest | best). hide_products / show_products: product ids to hide from or show again in that thread. Make the thread with save_group_thread (kind profiles or products).
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
thread_id | string | yes | The thread: its id or its exact name. |
who | string[] | ||
show | string[] | ||
order | newest | products | shuffle | ||
members_can_hide | boolean | ||
from_members | boolean | ||
per_person | number | ||
which | newest | best | ||
hide_products | string[] | ||
show_products | string[] |
set_group_door
Scope: messaging:write
Set who can come into a group; Wakato checks it on every join. add: rules, each {who: 'everyone' or a role name, rule, + its setting}. rule: profile (has a Wakato profile; private_ok true|false) | picture (the profile has a picture) | business (comes in with a business profile) | products (min live products on the profile) | shows (tabs: about, posts, pictures, products, reviews) | reviews (min) | age (days on Wakato) | place (countries: ISO codes like NG, GH) | contact (what: email|phone checked). remove: rule ids from get_group_door. if_not_met: [{who, then: block (can't join) | ask (an admin decides) | member (a role only: they join without it)}]. People already in keep their place; every change goes on the group's Transparency record.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
add | object[] | ||
remove | string[] | Rule ids (from get_group_door). | |
if_not_met | object[] |
set_group_joining
Scope: messaging:write
How people join a group: join_mode open (anyone with the link) | ask (they ask, someone lets them in). (A price: sell_group_access.) questions: {email: off|optional|required, phone: …, questions: [{label, kind: text|choice|yes|link|role, required, options}]} (kind role lets them pick a role). who_lets_in: admins | people (+ let_in_ids). while_waiting: nothing | welcome (they read the welcome sections). posts_wait: off | members | newcomers. link: on | off | new (a new link; the old stops). Returns the invite link.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
join_mode | open | ask | ||
questions | object | ||
who_lets_in | admins | people | ||
let_in_ids | string[] | ||
while_waiting | nothing | welcome | ||
posts_wait | off | members | newcomers | ||
who_shares_link | admins | everyone | ||
link | on | off | new |
set_group_member_roles
Scope: messaging:run
Set the roles a member of a group of this space holds — role_ids is the WHOLE set (an empty list takes every role away). They must already be in the group. Role ids from list_group_roles.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (wakato_pm_groups.id) — a group of this space. |
user_id | string | yes | The member's user id. |
role_ids | string[] | yes | Every role they should hold; [] = none. |
set_group_page
Scope: messaging:write
The group's page for visitors (what people see before they're in, on its link): visitor_text (what visitors read; the members' welcome is update_group's description and stays inside), media (the whole list of pictures and videos, in order, up to 12: each {kind: photo | video, url (https; YouTube, Vimeo or a video file for videos), title, thumbnail_url}, or {asset_id} for one of the owner's Assets; [] clears it), and show: what visitors see inside, {names (thread names, off by default), courses, rooms, profiles, shop (counts like "2 courses"), faces (who's in)} true/false. Leave a key out to keep it.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
visitor_text | string | What visitors read, up to 3000 characters. | |
media | object[] | ||
show | object |
set_group_slow_mode
Scope: messaging:run
Slow mode in a group of this space: each member may send one message every N seconds (0 off, 10, 30, 60, 300, 900, 3600). Owners, admins and agents aren't slowed. Without thread_id it is the group's own; with thread_id it is that thread's (seconds: null = the thread follows the group again).
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (wakato_pm_groups.id) — a group of this space. |
seconds | 0 | 10 | 30 | 60 | 300 | 900 | 3600 | null | ||
thread_id | string | One thread of the group (optional). |
set_room_settings
Scope: messaging:write
A room's times and doors. times: when it is open (see the schema). who_comes_in: everyone (who sees it) | roles (+ roles) | people (+ people); others_see: locked | hidden. hosts: roles (names) and host_people who run it — they let people in, open it outside its times and make it a webinar. opens_as: room | webinar (+ webinar: name or id from list_room_webinars).
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
thread_id | string | yes | The thread: its id or its exact name. |
times | object | When the room is open. mode: always | times | dates | events. times: slots [{repeat: daily|weekly|monthly, every (1-12), days [0-6, Sun=0] for weekly, nth (1-4 or -1 last) + wd (0-6) for monthly, from 'HH:mm', to 'HH:mm'}], starts 'YYYY-MM-DD', ends {mode: never|on|after, on, after}. dates: dates [{day 'YYYY-MM-DD', from, to}]. tz: IANA zone (e.g. America/New_York). early: minutes hosts may come in before (0-120). end: finish (people inside finish) | close (it closes for everyone). Events planned in the room open it too. | |
who_comes_in | everyone | roles | people | ||
roles | string[] | ||
people | string[] | ||
others_see | locked | hidden | ||
hosts | string[] | Role names or ids that run the room. | |
host_people | string[] | ||
opens_as | room | webinar | ||
webinar | string |
set_ticket
Scope: messaging:run
Change a ticket: status (open | waiting = waiting on the client | solved — the person who asked is told), who has it (given_to: a person or agent of the group by id or name, or "me"; unassign: true for nobody), priority (low | normal | high | urgent) or topic (topic_id). Giving it to someone puts them on the ticket.
| Parameter | Type | Required | Description |
|---|---|---|---|
ticket_id | string | yes | The ticket (from list_tickets). |
status | open | waiting | solved | ||
given_to | string | A member's id or name, or "me". | |
unassign | boolean | ||
priority | low | normal | high | urgent | ||
topic_id | string |
take_group_off_marketplace
Scope: messaging:write
Take a group off the Wakato Marketplace, or stop a review that is waiting. Members stay in; only new people stop finding it there.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
update_group
Scope: messaging:write
Change a group's name, the members' welcome (description: only people inside read it; what visitors read is set_group_page), cover or picture; who sees whom (open | private); who members can tag (anyone | staff | none); who starts threads (everyone | admins | people, with starters); and what its join page shows before people are in (show: {faces, times, outline} true/false).
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | The group (from list_groups or create_group). |
name | string | ||
description | string | ||
cover_url | string | ||
picture_url | string | ||
people_see | open | private | ||
who_tags | anyone | staff | none | ||
who_starts_threads | everyone | admins | people | ||
starters | string[] | User ids, when who_starts_threads is people. | |
show | object | {faces, times, outline}: what visitors see on the join page. |