Write a docs article: a draft until it's published (articles.publish). Who can read it once it's published is on top of its collection and tab
Needs a read + write key.
Tuti APIDocs
Write a docs article: a draft until it's published (articles.publish). Who can read it once it's published is on top of its collection and tab
Needs a read + write key.
/articlesAuthorization Bearer token
application/json · object · required
titlestring · 3–120 charactersrequiredIts title, 3 to 120 characters
bodystring · at most 50000 charactersIts text as plain text: blank lines between paragraphs. Ignored when content is sent
contentanyIts text as rich content: the editor's JSON document (the article profile), as articles.get returns it
collectionstring · nullable · 1–80 charactersThe slug of the collection it's in, or null for none
showUpdatedDatebooleanShow “Updated <date>” on the portal when it's edited after it was published (default true)
listingstringWhere it's served once published: everywhere (the default); unlisted (readable at its link, in no list or search; AI answers cite it); hidden (nowhere public); ai_only (only a source for AI answers, named without a link)
One of"everywhere""unlisted""hidden""ai_only"
descriptionstring · at most 300 charactersThe meta description, under its title in search engines' results (up to 300 characters; empty: from the text)
keywordsarray of string · at most 20 itemsWords readers search for that the text doesn't have (up to 20, each up to 60 characters; the same word twice, in any case, is kept once): searched like the text by docs search, and AI answers find the article by them. Replaces the ones it has
Each item: 1–60 characters
noindexbooleanBlock search indexing: search engines are asked not to list it, and it's left out of the sitemap, llms.txt and llms-full.txt (readers still find it in the docs and their search)
accessstringWho may read it, and so what's in it, on top of the levels above it: inherit (the default: what the level above allows; for a tab, everyone who may read the portal), signed_in (anyone signed in on the portal) or groups (readers in one of groups, besides the team; with none, only the team). The team reads everything
One of"inherit""signed_in""groups"
groupsarray of string · at most 20 itemsWith access: "groups", the keys of the project's reader groups (see groups.list), up to 20; left out, the ones it has. Without access, sending groups alone means they make it groups (some) or inherit (none)
Each item: 1–50 characters, matches ^[a-z0-9][a-z0-9_.:-]*$
noAccessstringWhat people it isn't for see of it: inherit (the default: what the level above says; with nothing above saying, as for a tab, hide: hidden), lock (its title or name, listed with a lock; its page asks them to sign in or says they don't have access, never its content, and nothing in it) or hide (nothing: not listed, and its link is not found)
One of"inherit""lock""hide"
slugstring · 1–80 characters, matches ^[a-z0-9]+(-[a-z0-9]+)*$The end of its address (/docs/<slug>) instead of one from the title: lowercase letters, digits and hyphens. Refused (409) if it's taken; never changed when the title is (articles.update's newSlug changes it)
200The article, as a draftapplication/json · Article
The article, as a draft
slugstringrequiredIts slug: the end of its address, /docs/<slug>. A draft's follows its title unless the team set it; a published one keeps it
titlestringrequiredIts title
statusstringrequiredpublished on the portal, or a draft only the team sees
One of"published""draft"
publishedAtstring · nullablerequiredWhen it was published (ISO 8601); null for a draft
showUpdatedDatebooleanrequiredWhether the portal shows “Updated <date>” once it's edited after it was published
listingstringrequiredWhere it's served once published: everywhere, unlisted (at its link only), hidden (nowhere public) or ai_only (only a source for AI answers)
One of"everywhere""unlisted""hidden""ai_only"
deletedAtstringWhen it was deleted (ISO 8601): only in the list of deleted articles
collectionobject · nullablerequiredThe collection it's in, or null for none
slugstringrequiredThe collection's slug
namestringrequiredThe collection's name
orderintegerrequiredIts place among the articles in its collection (or in none), 0 first: readers list them by this, then by title
bodystringrequiredIts text as plain text
contentmap of anyrequiredIts text as rich content: the editor's JSON document
urlstringrequiredIts page on the portal
accessstringOnly for the team: who may read it (changes at once, like the listing): inherit, signed_in or groups
One of"inherit""signed_in""groups"
groupsarray of stringOnly for the team: with groups access, the keys of the reader groups that may read it
noAccessstringOnly for the team: what people it isn't for see of it: inherit, lock or hide
One of"inherit""lock""hide"
customSlugbooleanOnly for the team: whether the team set its slug (else it comes from the title)
descriptionstringOnly for the team: its meta description for search engines (empty: from the text)
keywordsarray of stringOnly for the team: words docs search and AI answers find it by besides its text
noindexbooleanOnly for the team: whether search engines are asked not to list it
changesobject · nullableOnly for the team: a published article's saved changes that readers don't see yet (title, text, collection), until articles.publishChanges or articles.discardChanges; null when there are none
titlestringrequiredThe title saved
bodystringrequiredThe text saved, as plain text
contentmap of anyrequiredThe text saved, as rich content
collectionobject · nullablerequiredThe collection saved, or null for none
slugstringrequiredThe collection's slug
namestringrequiredThe collection's name
savedAtstringrequiredWhen they were last saved: send it as savedAt to publish or discard only these (ISO 8601)
createdAtstringrequiredWhen it was written (ISO 8601)
updatedAtstringrequiredWhen it was last changed (ISO 8601)
400The request isn't valid: a field is missing, has the wrong type or is out of range, or the body isn't a JSON object. The message names the field.application/json · Error
errorobjectrequiredcodestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change
401No API key was sent, or it isn't valid: it was revoked, or whoever created it left the team.application/json · Error
errorobjectrequiredcodestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change
402The project's plan doesn't include this or is at its limit, it's out of AI credits, or a payment didn't go through. The message says what's needed.application/json · Error
errorobjectrequiredcodestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change
403It isn't allowed: the key is read-only, its creator isn't a project owner or admin where only they may, only a person can do it in the app, a setting is off, or someone's address isn't confirmed. The code says which.application/json · Error
errorobjectrequiredcodestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change
409It can't be done as things are now: for example the post was merged, or someone changed it meanwhile. The code says which.application/json · Error
errorobjectrequiredcodestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change
429Too many requests: past 600 a minute per key, try again after the seconds in the Retry-After header. Some operations have limits of their own (their description gives them), whose 429 has no Retry-After.application/json · Error
errorobjectrequiredcodestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change
500Something went wrong on Tuti's side. Try again in a moment.application/json · Error
errorobjectrequiredcodestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change
curl 'https://tuti.so/api/v1/articles' \
--request POST \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "Getting started",
"body": "Create a board, then share your portal.",
"collection": "basics"
}'const response = await fetch("https://tuti.so/api/v1/articles", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
"title": "Getting started",
"body": "Create a board, then share your portal.",
"collection": "basics"
}),
});
const text = await response.text();import requests
response = requests.post(
"https://tuti.so/api/v1/articles",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
data="{\n \"title\": \"Getting started\",\n \"body\": \"Create a board, then share your portal.\",\n \"collection\": \"basics\"\n}",
)
print(response.text){
"slug": "getting-started",
"title": "Getting started",
"status": "published",
"publishedAt": "2026-11-02T09:30:00.000Z",
"showUpdatedDate": true,
"listing": "everywhere",
"deletedAt": "2026-11-10T08:00:00.000Z",
"collection": {
"slug": "basics",
"name": "Basics"
},
"order": 0,
"body": "Create a board, then share your portal.",
"content": {
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Create a board, then share your portal."
}
]
}
]
},
"url": "https://help.example.com/docs/getting-started",
"access": "inherit",
"groups": [],
"noAccess": "inherit",
"customSlug": false,
"description": "",
"keywords": [
"onboarding"
],
"noindex": false,
"changes": null,
"createdAt": "2026-11-02T09:30:00.000Z",
"updatedAt": "2026-11-02T09:30:00.000Z"
}{
"error": {
"code": "invalid_input",
"message": "title: Title is too short"
}
}{
"error": {
"code": "unauthorized",
"message": "This API key isn't valid or was revoked"
}
}{
"error": {
"code": "plan_required",
"message": "A custom domain needs the Pro plan. See Settings → Billing."
}
}{
"error": {
"code": "forbidden",
"message": "This key can only read. Create a read + write key to change things."
}
}{
"error": {
"code": "merged",
"message": "This post was merged into another one; vote there instead"
}
}{
"error": {
"code": "rate_limited",
"message": "Up to 600 requests a minute per key"
}
}{
"error": {
"code": "internal_error",
"message": "Something went wrong"
}
}