Skip to main content
New to Corsair? See API access, authentication, and error handling.

Comments

create

comments.create Post a comment, or a reply to a comment, on a discussion, in markdown or html Risk: write
Input discussion_id is the numeric discussion id (not the topic id). Set parent_id to reply to a comment: the reply goes to the parent comment’s discussion and Loomio ignores discussion_id, so use a parent from the same discussion. body_format takes md (default) or html. Output

delete

comments.delete Soft-delete a comment: its body is hidden and the API cannot restore it Risk: destructive
Input Output

update

comments.update Edit the body of a comment the key user may edit Risk: write
Input Output

Discussions

create

discussions.create Start a discussion in a group; can notify the whole group and email invitations to recipient addresses Risk: destructive
Input recipient_audience: group notifies the whole group and recipient_emails emails invitations, so this is destructive. A permission denial answers the same 403 body a bad key does. Output

delete

discussions.delete Soft-delete a discussion; it disappears for members and the API cannot restore it Risk: destructive
Input A soft delete: the record stays with discarded_at set, hidden from members. The API has no undo. Output

get

discussions.get Read one discussion by numeric id or url key, with its author and thread record Risk: read
Input Output

list

discussions.list List discussions in one group, filtered by open or closed status, ordered by latest activity Risk: read
Input group_id is required; Loomio answers a missing one with 404 {“error”:404}. status takes open, closed, or all; without it Loomio returns open and closed discussions alike. Output

update

discussions.update Edit a discussion title or context; can notify the group and email invitations to recipient addresses Risk: destructive
Input Output

Groups

get

groups.get Read one group by numeric id, url key, or handle, with its settings and member counts Risk: read
Input The id accepts a numeric id, a url key, or a handle. Output

list

groups.list List the groups the key user belongs to, including subgroups, oldest first Risk: read
Input Output

Memberships

list

memberships.list List a group’s memberships with related users; emails only for members the key user invited or in groups it administers Risk: read
Input user_email comes back on memberships the key user invited and on every membership in groups the key user administers; treat any response as possibly holding emails. Output

manage

memberships.manage Invite email addresses to a group (Loomio emails them) and optionally remove every member not listed; group admin only Risk: destructive
Input Group admin only. remove_absent: true removes every member whose email is not listed, so an empty or partial list can empty the group. With remove_absent the plugin first reads the group memberships and sends each listed address in its stored spelling, because Loomio compares the lists case-sensitively. Output

Polls

create

polls.create Create a poll in a group or on a discussion; can invite the group to vote and email invitations to recipient addresses Risk: destructive
Input Provide group_id or discussion_id. Omit closing_at (or send null) to keep the poll a draft with voting disabled; anonymous polls need closing_at, because Loomio refuses an anonymous draft with 403 after saving it. For proposals, options default to agree, disagree, abstain, and block. notify_recipients: true emails everyone invited.
Output

delete

polls.delete Soft-delete a poll; it disappears for voters and the API cannot restore it Risk: destructive
Input Output

get

polls.get Read one poll by numeric id or url key, with vote counts and its options Risk: read
Input Output

list

polls.list List polls in one group, filtered by active or closed status, newest first, with current outcomes Risk: read
Input status takes active (default), closed, or all. Current outcomes ride in the outcomes array; match current_outcome_id on each poll. Output

update

polls.update Edit a poll (title, details, options, closing time); can change existing votes and email invitations Risk: destructive
Input Edit detailed options by id; add ones without an id; remove one with id and _destroy: true. Closed polls cannot be edited, and anonymous polls freeze options after the first vote.
Output

Reports

get

reports.get Generate a participation report (overview, per-person, or per-country counts) for the key user’s groups Risk: read
Input group_ids outside the key user’s memberships are ignored. Anonymous polls are left out of per-person voting counts. Output: Record<string, any>

query

search.query Search visible discussions, comments, polls, votes, and outcomes; up to 20 results Risk: read
Input Returns at most 20 results with no paging. author_id without a query returns that author’s recent activity. Output

Server

groups.list

server.groups.list Self-hosted Server API: list every group on the install, private ones included (server key) Risk: read
Input Output

memberships.list

server.memberships.list Self-hosted Server API: list a group’s memberships and pending invitations with emails (server key) Risk: read
Input Output

memberships.revoke

server.memberships.revoke Self-hosted Server API: revoke a membership in its group and subgroups (server key) Risk: destructive
Input Output

memberships.sync

server.memberships.sync Self-hosted Server API: invite emails to a group and optionally revoke everyone not listed (server key) Risk: destructive
Input Self-hosted, server key. remove_absent: true revokes everyone not listed in the group and its subgroups; an empty list removes everyone. Output

memberships.update

server.memberships.update Self-hosted Server API: grant or remove a member’s admin and delegate roles (server key) Risk: write
Input Output

users.create

server.users.create Self-hosted Server API: create an unverified account without sending an invitation (server key) Risk: write
Input Output

users.deactivate

server.users.deactivate Self-hosted Server API: queue a user deactivation; success means queued, so read the user again and check active is false (server key) Risk: destructive
Input Self-hosted, server key. Loomio queues the deactivation and answers before the job runs, so success: true and user.active: true can come back together. Read the user again and check active is false before treating offboarding as done. Output

users.deactivateByIdentity

server.users.deactivateByIdentity Self-hosted Server API: queue deactivation of a user found by external identity; read again and check active is false (server key) Risk: destructive
Input Self-hosted, server key. Queued like server.users.deactivate: read the user again and check active is false. Output

users.delete

server.users.delete Self-hosted Server API: permanently delete a user and their records (server key) Risk: destructive
Input Self-hosted, server key. Permanent: the user and associated records are deleted by a background job. Output

users.deleteByIdentity

server.users.deleteByIdentity Self-hosted Server API: permanently delete a user found by external identity (server key) Risk: destructive
Input Output

users.get

server.users.get Self-hosted Server API: read one user account by id (server key) Risk: read
Input Output

users.getByIdentity

server.users.getByIdentity Self-hosted Server API: find a user by external identity provider and uid (server key) Risk: read
Input Output

users.list

server.users.list Self-hosted Server API: list every user account with emails and identities (server key) Risk: read
Input Output

users.reactivate

server.users.reactivate Self-hosted Server API: reactivate a deactivated user (server key) Risk: write
Input Output

users.reactivateByIdentity

server.users.reactivateByIdentity Self-hosted Server API: reactivate a user found by external identity (server key) Risk: write
Input Output

users.redact

server.users.redact Self-hosted Server API: irreversibly remove a user’s identifying data, keeping their content (server key) Risk: destructive
Input Self-hosted, server key. Irreversibly removes identifying data while keeping the user’s contributions. Output

users.redactByIdentity

server.users.redactByIdentity Self-hosted Server API: irreversibly redact a user found by external identity (server key) Risk: destructive
Input Output

users.update

server.users.update Self-hosted Server API: change a user’s name, username, email, or admin flag (server key) Risk: write
Input Output

users.updateByIdentity

server.users.updateByIdentity Self-hosted Server API: update a user found by external identity (server key) Risk: write
Input Output

Threads

get

threads.get Read one thread record by topic id, with its discussion or poll in the related arrays Risk: read
Input Output

items

threads.items Read one thread timeline in sequence order: comments, polls, votes, and outcomes as one event stream Risk: read
Input Items come back in ascending sequence order and cap limit at 500. Comments, polls, votes, and outcomes ride in related arrays: choose the array by itemable_type, then match itemable_id within it (a comment and a poll can share an id). Output

list

threads.list List the threads the key user can see, ordered by latest activity, across all groups Risk: read
Input Output

markdown

threads.markdown Export one thread as a single markdown document; needs export permission on the thread Risk: read
Input Requires export permission on the thread; the thread’s whole visible content comes back as one document under markdown. Output

Webhooks

check

webhooks.check Ask Loomio to send a test message to a webhook destination URL; success does not confirm delivery Risk: destructive
Input Asks Loomio to send a test message (Slack format) to the URL. Loomio answers an empty 200 even when delivery fails, so the plugin returns { accepted: true }; confirm receipt at the destination. Output

create

webhooks.create Create an outgoing webhook or chat integration that posts group events to a URL; group admin only Risk: write
Input kind: matrix needs server (the homeserver URL), access_token and channel (the room id). Loomio never returns the access token. Output

delete

webhooks.delete Delete a webhook or chat integration; future deliveries stop Risk: destructive
Input Output

list

webhooks.list List a group’s outgoing webhooks and chat integrations, with destination URLs; group admin only Risk: read
Input Group admin only. The response includes destination URLs, which are secrets. Output

update

webhooks.update Change a webhook’s name, destination, format, or events; group admin only Risk: write
Input Output