Skip to navigation

Reply in a product comment thread

Add a comment to a thread, resolved or not. authorKind: assistant posts the Assistant’s answer to an @assistant mention, relayed by the caller’s client.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired
threadIdstringRequired

Request

This endpoint expects an object.
bodystringRequired1-10000 characters

The comment text; backticks mark code and @name a mention

authorKindenumOptional

assistant when the caller’s client posts the Assistant’s answer to an @assistant; defaults to user

Allowed values:
mentionslist of stringsOptional

What the body names with @: assistant, or a teammate as their name was inserted

Response

Comment added
authorKindenum

assistant for an answer to an @assistant mention, else user

Allowed values:
authorLabelstring

The name it was posted under: the person’s first name, the API key’s name, or Assistant

authorUserIdstring or null

Who posted it (for an assistant answer, whose client relayed it); null once that person’s account is deleted

bodystring
createdAtstring
idstring
mentionslist of strings
threadIdstring

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error