List a post's comments, each followed by its replies; to the team (an API key, a team member), with its internal notes between them
Path parameters
numberinteger · more than 0requiredThe post's number
Query parameters
sortstringComments oldest first (the default) or newest first; each one's replies follow it, oldest first
Default:
"oldest"One of
"oldest""newest"
Responses
200The post's commentsapplication/json · object
The post's comments
commentsarray of CommentrequiredThe comments in order, each followed by its replies
ShowHide 9 properties
idstringrequiredThe comment's id: comments.like and a reply's
replyTotake itauthorobjectrequiredWho wrote it
ShowHide 2 properties
namestringrequiredTheir name
teambooleanrequiredWhether they wrote it as the team: a team member, not signed in as a portal reader
bodystringrequiredIts text, as plain text
contentmap of anyrequiredIts text as a rich document (Tuti's content format, as the editor writes it: paragraphs, lists, images…)
createdAtstringrequiredWhen it was written (ISO 8601)
replyTostring · nullablerequiredThe id of the comment it replies to; null for one that replies to none
likesintegerrequiredHow many like it
likedbooleanrequiredWhether the caller likes it (a key: its creator)
internalbooleanOnly on an internal note, and
true: only the team sees it, never on the portal, in emails or webhooksOne of
true
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
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat 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
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change
404Nothing by that name, number or id in this project.application/json · Error
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat 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
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat 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
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change

