Reply to customer

Send an email reply to the customer on the ticket's thread.

POST https://cotlet.dev/api/v1/zammad/tickets/{ticket_id}/customer/replies

write Confirm

Adds an email article from you, visible to the customer, and Zammad sends it to the ticket's customer. The ticket title is the subject. Returns the new article with its recipient. Tickets from channels other than email return an error. A sent reply cannot be deleted through Cotlet. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: reply_to_customer
NameTypeDescription
ticket_id integer required integer Ticket ID from search_tickets, list_overview_tickets or the ticket address (#ticket/zoom/{ticket_id}).
body string required string Reply text.
cc string string Comma-separated email addresses to copy.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/zammad/tickets/4790/customer/replies \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body":"Hi Dana, a quick follow-up on your invoice address change. Could you send us the new address? If we do not hear back by Friday we will close this ticket, and you can reopen it by replying."}'
Python
result = client.call("zammad", "reply_to_customer", {"ticket_id":4790,"body":"Hi Dana, a quick follow-up on your invoice address change. Could you send us the new address? If we do not hear back by Friday we will close this ticket, and you can reopen it by replying."})
Node.js
const result = await cotlet.call('zammad', 'reply_to_customer', {"ticket_id":4790,"body":"Hi Dana, a quick follow-up on your invoice address change. Could you send us the new address? If we do not hear back by Friday we will close this ticket, and you can reopen it by replying."});
CLI
cotlet call zammad reply_to_customer --data '{"ticket_id":4790,"body":"Hi Dana, a quick follow-up on your invoice address change. Could you send us the new address? If we do not hear back by Friday we will close this ticket, and you can reopen it by replying."}'

Example response

JSON

{
  "article_id": 9071,
  "ticket_id": 4790,
  "type": "email",
  "sender": "Agent",
  "internal": false,
  "to": "dana.hill@example.com",
  "subject": "Invoice address change",
  "created_at": "2026-10-22T08:05:00.000Z"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.