Skip to content
Navigation
POST/tickets/{ticketId}/reply

Reply to a ticket

Send a customer-visible agent reply on a ticket thread.

Parameters

NameInTypeDescription
ticketIdrequiredpathstringTicket ID

Request body

FieldTypeDescription
contentrequiredstringMessage body as markdown
attachmentsobject[]

Response

Reply created

FieldTypeDescription
idrequiredstringTypeID - a type-prefixed UUID
ticketIdrequiredstringTypeID - a type-prefixed UUID
senderTyperequired"visitor" | "agent" | "system"Who sent the message
isInternalrequiredbooleanWhether this is an internal teammate note not visible to the requester
authorPrincipalIdrequiredstring | nullPrincipal ID of the author, null for system messages
authorNamerequiredstringnullDisplay name of the author, null for system messages
contentrequiredstringMarkdown content. Derived from contentJson when it carries an image (restores `![](…)` that plain markdown storage would otherwise lose), else the stored text verbatim.
contentJsonrequiredobject | nullRich text content as TipTap JSON, null for plain-text messages
attachmentsrequiredobject[] | nullImage/file attachments, null if none
createdAtrequiredstringISO 8601 timestamp

Errors

400Validation error
401Unauthorized
404Ticket not found

Example request

curl \
  -X POST \
  "https://feedback.quackback.io/api/v1/tickets/:ticketId/reply" \
  -H "Authorization: Bearer qb_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
  "content": "example_content",
  "attachments": []
}'