Tuti APIInbox

Update a conversation

Change a conversation's status, assign it to a team member, mark it as spam, or snooze it: out of the inbox's views till then, or till the user writes, and open again after. Closed conversations and spam aren't snoozed (409).

Needs a read + write key.

PATCH/conversations/{number}

Authorization Bearer token

Path parameters

  • numberinteger · more than 0required

    The conversation's number in the project

Body

application/json · object · required

  • statusstring

    Its new status: waiting (on the user) only once the team's reply is its latest message (replying sets it)

    One of"open""waiting""closed"

  • assigneestring · email · nullable · 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,}$

    Assign it to a team member, by their email; null to unassign

  • spamboolean

    Mark it as spam, or not

  • snoozedUntilstring · date-time · nullable · matches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$

    Snooze it till a time to come, up to a year; null wakes it

Responses

  • 200The conversation as it is now

    application/json · object

    The conversation as it is now

    • 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

  • 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

  • 404Nothing by that name, number or id in this project.

    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/conversations/12' \
  --request PATCH \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "status": "closed"
}'
const response = await fetch("https://tuti.so/api/v1/conversations/12", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "status": "closed"
  }),
});
const text = await response.text();
import requests

response = requests.patch(
    "https://tuti.so/api/v1/conversations/12",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json"
    },
    data="{\n  \"status\": \"closed\"\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"
}
{
  "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": "not_found",
    "message": "No such post"
  }
}
{
  "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"
  }
}