Skip to main content

AddAttachment links an uploaded file to a ticket.

POST 

/api/v1/ticketing/tickets/:ticketId/attachments

The file must first be uploaded via UploadsService to get an upload_id. Attachments can be ticket-level or attached to a specific comment.

Errors

  • NOT_FOUND: Ticket or upload_id does not exist
  • INVALID_ARGUMENT: Invalid upload_id format
  • PERMISSION_DENIED: Caller lacks ticket:write permission

Request

Responses

A successful response.