A board is a form with "kind": "board", so you create it, change its settings and read its statuses, tags and post fields with the forms endpoints. Its posts, comments, updates and subscribers have their own endpoints under /forms/{id}, and they answer wrong_kind for anything that isn’t a board. Status, tag and field IDs come from the board’s document.board, which GET /forms/{id} returns.
Posts
GET /forms/{id}/posts lists every post on the board, as the Posts tab shows them. Posts waiting for review are included, and archived posts are left out unless you ask for them.
Parameter | What it does |
|---|---|
status | Status IDs. A post in any of them matches. Repeat it to send several. |
tag | Tags. A post with any of them matches. Repeat it to send several. |
search | Words to find in the title or details. Every word must match. |
sort | newest (the default) or upvotes. Pinned posts aren’t moved to the top. |
pending | true for only posts waiting for review, false for only approved ones. |
archived | false (the default) leaves archived posts out, true lists only them, and any lists both. |
limit, cursor | The page size and the next page. A cursor only continues the same sort. |
POST /forms/{id}/posts adds a post as the team, as New post does. It never waits for review and goes to the top of the board’s order. statusId must be one of the board’s statuses. Leave it out to start in the first. tags must be the board’s tags and fields its post fields, by ID. Images in details must already be uploads on this board.
GET /forms/{id}/posts/{postId} returns one post. PATCH changes what the post panel can change, and only the fields you send. tags replaces the post’s tags, and fields sets answers by field ID, keeping the rest. A new status adds a line to the post’s timeline.
To review a post waiting for review, as the review queue does, send pending: false to approve it:
To decline it, send pending: false with archived: true.
POST /forms/{id}/posts/{postId}/merge merges a post into another post on the same board, named by intoPostId. Its votes move to the other post, and someone who voted for both counts once. Its comments and timeline move there too, with a line saying it was merged, and the other post takes its place in any update. Then the merged post is deleted, and the response is the post it went into.
DELETE /forms/{id}/posts/{postId} deletes a post with its votes and timeline. To take a post off the board but keep it, archive it instead.
Comments
GET /forms/{id}/posts/{postId}/comments lists a post’s timeline, oldest first, as the owner sees it. It holds comments, including ones waiting for review and hidden ones, and the lines the board writes itself. Each item’s kind is comment, or status when the post moved, merge when another post was merged into it and update when an update covered it. Filter with pending and hidden.
POST /forms/{id}/posts/{postId}/comments comments as the team, and the comment shows straight away. Send parentId to reply to a comment on the same post. A reply to a reply joins the same thread.
PATCH /forms/{id}/posts/{postId}/comments/{commentId} reviews and tidies a comment. Send pending: false to approve a comment waiting for review, hidden to hide or show it, and pinned to pin it first in the timeline. A post has one pinned comment, which must be one everyone can see and not a reply. body edits a comment from the team. Other people’s words can’t be changed.
DELETE deletes a comment with any replies under it, or a status or merge line. An update’s line goes when the post is taken out of the update. Blocking a commenter isn’t in the API.
Updates
POST /forms/{id}/updates publishes news to the board’s Updates straight away. There are no drafts. Each post it covers in postIds gets a line in its timeline, and moveToStatusId moves those posts to that status. See Publish board updates for how updates look on the board.
Subscribers are only emailed when you send notify: true. This differs from the app, where the composer starts with email on. Without it, the update is published and nobody is emailed. With notify: true, the update is emailed to every confirmed subscriber exactly as when you publish with email on in the app, within the same limits:
- A board emails at most one update an hour. A later update is still published, but not emailed.
- An account sends at most 10,000 update emails a month. If a list doesn’t fit in what’s left, nobody on it is emailed, rather than some of it.
The response’s email says what happened, as the board’s Updates view does. Its state is sending, sent, partial or notEmailed, and detail says why it wasn’t emailed. email is null when the board doesn’t collect subscribers.
Send your own requestId with each publish, and the same one if you retry, so the update is published and emailed once.
GET /forms/{id}/updates lists updates, newest first, each with its email. PATCH changes an update’s title, body or the posts it covers, and only the fields you send. Posts newly covered get a line in their timeline, and posts no longer covered lose theirs. Editing an update never emails anyone and never moves posts. DELETE deletes an update and its timeline lines. Posts it moved stay where they are, and emails already sent can’t be taken back.
Subscribers
GET /forms/{id}/subscribers lists everyone who signed up for the board’s updates, newest first, as the Subscribers tab does.
status is confirmed for people who get updates, awaiting for people who haven’t followed the confirmation link yet, or unsubscribed. source is where they signed up: button for the Get updates button, or vote, post or comment for the offer after one. fields holds the board’s sign-up questions with their answers. posts, upvotes and comments count activity from the browser they signed up in.
DELETE /forms/{id}/subscribers/{subscriberId} removes a sign-up, so they get no more updates. Emails already queued for them are skipped. They can sign up again from the board.