Reply to ticket

Send a public reply or an internal note on a ticket.

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

write Confirm

Adds a message to a ticket as you. A public reply is emailed to the customer; an internal note stays with your team and reaches no one. Pass the text in body. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: reply_to_ticket
NameTypeDescription
ticket_id integer required integer Ticket ID from list_tickets.
body string required string Message text.
visibility enum enum public or internal. Default: public.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/tidio/tickets/10482/replies \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body":"Hi Mark, your order ships within 2 business days and you will get a tracking link by email. Reply here if it has not arrived by Friday.","visibility":"public"}'
Python
result = client.call("tidio", "reply_to_ticket", {"ticket_id":10482,"body":"Hi Mark, your order ships within 2 business days and you will get a tracking link by email. Reply here if it has not arrived by Friday.","visibility":"public"})
Node.js
const result = await cotlet.call('tidio', 'reply_to_ticket', {"ticket_id":10482,"body":"Hi Mark, your order ships within 2 business days and you will get a tracking link by email. Reply here if it has not arrived by Friday.","visibility":"public"});
CLI
cotlet call tidio reply_to_ticket --data '{"ticket_id":10482,"body":"Hi Mark, your order ships within 2 business days and you will get a tracking link by email. Reply here if it has not arrived by Friday.","visibility":"public"}'

Example response

JSON

{
  "ticket_id": 10482,
  "visibility": "public",
  "status": "sent",
  "url": "https://www.tidio.com/panel/inbox/tickets/10482"
}

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.