Tuti APIInbox

Start a conversation

Start a conversation from someone in your app or an email address, with their first message: open, and waiting on the team, who are emailed about it. Webhooks get conversation.created.

Needs a read + write key.

POST/conversations

Authorization Bearer token

Body

application/json · object · required

  • userobject

    Someone from your app, matched by their id there; send this or email

    Show 3 properties
    • idstring · 1–255 charactersrequired

      Their id in your app

    • namestring · 1–100 characters

      Their name

    • emailstring · email · at most 320 characters, matches ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$

      Their email address

  • emailstring · email · at most 320 characters, matches ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$

    An email address to start it with, for someone not from your app; send this or user

  • subjectstring · 1–200 characters

    Its subject, up to 200 characters; without one, the start of the message

  • bodystring · 1–10000 charactersrequired

    The message: plain text, up to 10,000 characters

Responses

  • 200The conversation started

    application/json · object

    The conversation started

    • numberintegerrequired

      The conversation's number in the project

    • subjectstringrequired

      Its subject: the one it was started with, or the start of its first message

    • statusstringrequired

      open: waiting on the team; waiting: on the user (the team's reply is its latest message); closed: done with

      One of"open""waiting""closed"

    • originstringrequired

      Where it started: the widget, an email, an AI answer passed to a person (escalation), or the API

      One of"widget""email""escalation""api"

    • userConversationUserrequired

      Who a conversation is with: someone from your app or with a portal account, an email address, or a signed-out visitor

      Show 4 properties
      • idstring · nullablerequired

        Their id in your app, when they came through SSO or the API; null otherwise (an email, a portal account, a signed-out visitor)

      • namestring · nullablerequired

        Their name: for someone known by email only, the name their email came from, once its address is verified

      • emailstring · nullablerequired

        Their email address; null for a signed-out visitor, or someone from your app who hasn't given one

      • verifiedbooleanrequired

        Whether the address is known to be theirs: always for someone from your app

    • assigneeobject · nullablerequired

      The team member it's assigned to; null when unassigned

      Show 2 properties
      • namestringrequired

        Their name in Tuti

      • emailstringrequired

        Their email address

    • spambooleanrequired

      Marked as spam: lists leave it out unless asked for

    • lastMessageAtstringrequired

      When its latest message was written; notes don't move it (ISO 8601)

    • waitingSincestring · nullablerequired

      Since when the user has waited on the team: their oldest unanswered message; null when they aren't waiting (ISO 8601)

    • snoozedUntilstring · nullablerequired

      Out of the inbox's views till then, or till the user writes; null when not snoozed (closed and spam ones never are) (ISO 8601)

    • createdAtstringrequired

      When it started (ISO 8601)

    • urlstringrequired

      Its page in Tuti's inbox

    • messagesarray of ConversationMessagerequired

      Its first message

      Show 9 properties
      • idstringrequired

        The message's id

      • authorstringrequired

        Who wrote it: the user, the team, the AI, or Tuti itself (a notice)

        One of"user""team""ai""tuti"

      • namestring · nullablerequired

        The name of whoever wrote it, when they have an account (a teammate, someone from your app); null otherwise

      • channelstringrequired

        How it came: the widget, email, the API or Tuti's app

        One of"widget""email""api""app"

      • bodystringrequired

        What it says, plain text

      • notebooleanrequired

        An internal note: only the team sees it, never sent

      • attachmentsarray of ConversationAttachmentrequired

        The files it came with

        Show 5 properties
        • idstringrequired

          The file's id

        • filenamestringrequired

          Its name

        • contentTypestringrequired

          Its type

        • sizeintegerrequired

          Its size in bytes

        • urlstring · nullable

          In conversations.get: a link to it, signed for a while (images to show, other files saved under their name); null without media storage

      • attachmentsDroppedintegerrequired

        How many files it came with couldn't be kept (no media storage, or an import couldn't copy them)

      • createdAtstringrequired

        When it was written (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

  • 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

  • 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/conversations' \
  --request POST \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "user": {
    "id": "user-42",
    "name": "Sam",
    "email": "[email protected]"
  },
  "subject": "Can'\''t export to CSV",
  "body": "The export button does nothing on the reports page."
}'
const response = await fetch("https://tuti.so/api/v1/conversations", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "user": {
      "id": "user-42",
      "name": "Sam",
      "email": "[email protected]"
    },
    "subject": "Can't export to CSV",
    "body": "The export button does nothing on the reports page."
  }),
});
const text = await response.text();
import requests

response = requests.post(
    "https://tuti.so/api/v1/conversations",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json"
    },
    data="{\n  \"user\": {\n    \"id\": \"user-42\",\n    \"name\": \"Sam\",\n    \"email\": \"[email protected]\"\n  },\n  \"subject\": \"Can't export to CSV\",\n  \"body\": \"The export button does nothing on the reports page.\"\n}",
)
print(response.text)
{
  "number": 12,
  "subject": "Can't export to CSV",
  "status": "open",
  "origin": "widget",
  "user": {
    "id": "user-42",
    "name": "Sam Lee",
    "email": "[email protected]",
    "verified": true
  },
  "assignee": {
    "name": "Olive Owner",
    "email": "[email protected]"
  },
  "spam": false,
  "lastMessageAt": "2026-11-18T09:30:00.000Z",
  "waitingSince": "2026-11-18T09:30:00.000Z",
  "snoozedUntil": null,
  "createdAt": "2026-11-18T09:30:00.000Z",
  "url": "https://tuti.example.com/app/acme/inbox/12",
  "messages": [
    {
      "id": "cm3k9x2ab0002qz8h9c4b7a3d",
      "author": "user",
      "name": "Sam Lee",
      "channel": "widget",
      "body": "The export button does nothing on the reports page.",
      "note": false,
      "attachments": [
        {
          "id": "cm3k9x2ab0001qz8h4f7d2e1c",
          "filename": "screenshot.png",
          "contentType": "image/png",
          "size": 48213,
          "url": "https://media.example.com/attachments/screenshot.png?signature=abc"
        }
      ],
      "attachmentsDropped": 0,
      "createdAt": "2026-11-18T09: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": "forbidden",
    "message": "This key can only read. Create a read + write key to change things."
  }
}
{
  "error": {
    "code": "rate_limited",
    "message": "Up to 600 requests a minute per key"
  }
}
{
  "error": {
    "code": "internal_error",
    "message": "Something went wrong"
  }
}