add_reply
Send a ticket reply visible to the requester, with optional attachments, status update, time logging, and custom field changes.
Instructions
Send a reply (correspondence) on a ticket, visible to the requestor
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Ticket ID | |
| Status | No | Optionally change ticket status (e.g. resolved) | |
| Content | No | Reply text (optional if Attachments provided) | |
| TimeTaken | No | Minutes of work time to log | |
| Attachments | No | Files to attach. Provide either FilePath (local file path, server reads and encodes it) or FileContent (pre-encoded MIME Base64). FileName and FileType are optional with FilePath and are inferred from the path. | |
| ContentType | No | Content MIME type (default text/plain) | |
| CustomFields | No | Ticket custom field values to set while sending this reply, as {CF_name: value}. Each value replaces everything the field currently holds, so for a multi-value field pass an array of the complete set you want ({"Tags": ["Red", "Blue"]}) — to add to existing values, read them with get_ticket first and include them. RT silently ignores names it does not recognize, including transaction custom fields (not supported here), so a success response does not confirm a field was set. Use get_queue_fields to see the custom fields available on the ticket's queue. |