Skip to main content

CreateComment adds a new comment to a ticket.

POST 

/api/v1/ticketing/tickets/:ticketId/comments

Creates a public or internal comment. If this is the first public agent response, it updates the ticket's first_response_at for SLA.

Notifications

  • PUBLIC comments trigger email notifications to customer
  • INTERNAL comments notify watching agents only

Attachments

Include attachment_upload_ids to attach files uploaded via UploadsService.

Errors

  • NOT_FOUND: Ticket does not exist
  • INVALID_ARGUMENT: Missing content
  • PERMISSION_DENIED: Caller lacks ticket:write permission

Request

Responses

A successful response.