Tuti APIDocs

Create an article

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.

POST/articles

Authorization Bearer token

Body

application/json · object · required

  • titlestring · 3–120 charactersrequired

    Its title, 3 to 120 characters

  • bodystring · at most 50000 characters

    Its text as plain text: blank lines between paragraphs. Ignored when content is sent

  • contentany

    Its text as rich content: the editor's JSON document (the article profile), as articles.get returns it

  • collectionstring · nullable · 1–80 characters

    The slug of the collection it's in, or null for none

  • showUpdatedDateboolean

    Show “Updated <date>” on the portal when it's edited after it was published (default true)

  • listingstring

    Where 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 characters

    The meta description, under its title in search engines' results (up to 300 characters; empty: from the text)

  • keywordsarray of string · at most 20 items

    Words 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

  • noindexboolean

    Block 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)

  • accessstring

    Who 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 items

    With 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_.:-]*$

  • noAccessstring

    What 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)

Responses

  • 200The article, as a draft

    application/json · Article

    The article, as a draft

    • slugstringrequired

      Its slug: the end of its address, /docs/<slug>. A draft's follows its title unless the team set it; a published one keeps it

    • titlestringrequired

      Its title

    • statusstringrequired

      published on the portal, or a draft only the team sees

      One of"published""draft"

    • publishedAtstring · nullablerequired

      When it was published (ISO 8601); null for a draft

    • showUpdatedDatebooleanrequired

      Whether the portal shows “Updated <date>” once it's edited after it was published

    • listingstringrequired

      Where 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"

    • deletedAtstring

      When it was deleted (ISO 8601): only in the list of deleted articles

    • collectionobject · nullablerequired

      The collection it's in, or null for none

      Show 2 properties
      • slugstringrequired

        The collection's slug

      • namestringrequired

        The collection's name

    • orderintegerrequired

      Its place among the articles in its collection (or in none), 0 first: readers list them by this, then by title

    • bodystringrequired

      Its text as plain text

    • contentmap of anyrequired

      Its text as rich content: the editor's JSON document

    • urlstringrequired

      Its page on the portal

    • accessstring

      Only 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 string

      Only for the team: with groups access, the keys of the reader groups that may read it

    • noAccessstring

      Only for the team: what people it isn't for see of it: inherit, lock or hide

      One of"inherit""lock""hide"

    • customSlugboolean

      Only for the team: whether the team set its slug (else it comes from the title)

    • descriptionstring

      Only for the team: its meta description for search engines (empty: from the text)

    • keywordsarray of string

      Only for the team: words docs search and AI answers find it by besides its text

    • noindexboolean

      Only for the team: whether search engines are asked not to list it

    • changesobject · nullable

      Only 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

      Show 5 properties
      • titlestringrequired

        The title saved

      • bodystringrequired

        The text saved, as plain text

      • contentmap of anyrequired

        The text saved, as rich content

      • collectionobject · nullablerequired

        The collection saved, or null for none

        Show 2 properties
        • slugstringrequired

          The collection's slug

        • namestringrequired

          The collection's name

      • savedAtstringrequired

        When they were last saved: send it as savedAt to publish or discard only these (ISO 8601)

    • createdAtstringrequired

      When it was written (ISO 8601)

    • updatedAtstringrequired

      When 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

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What 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

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What 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

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What 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

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What 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

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What 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

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What went wrong, for a person: may change

  • 500Something went wrong on Tuti's side. Try again in a moment.

    application/json · Error

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What 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"
  }
}