Objective: Sends a new reply (thread) to an existing Zoho Desk ticket. If the ticket is closed, it automatically attempts to reopen it before sending the reply. Identifies the ticket via zoho_id, ticket_number or chamado_id.
HTTP method: PUT or POST (Content-Type: application/json).
Minimum JSON body (same flow as the tickets UI):
{
"auth": "",
"ticket_number": "12345",
"content": "Reply text for the ticket"
}
Fields:
- auth: required (token from get/auth.php).
- content: required (Portuguese alias "conteudo" is also accepted).
- Ticket identification — provide at least one: ticket_number (client ticket number), chamado_id (local zc_id), or zoho_id.
The Zoho send matches the UI (responder_chamado).
Optional advanced fields (channel, contentType, sendImmediately, isPrivate, fromEmailAddress) remain supported; they are not needed for typical use.
Attachments: use put/ticket_attachments.php.