Reply to customer

Send a reply to the customer in a Conversation, on the Channel the Conversation uses.

POST https://cotlet.dev/api/v1/gladly/conversations/{conversation_id}/customer/replies

write Confirm

Writes in the composer of the Conversation and sends. The reply goes out on the Channel of the Conversation, for example email or SMS, as the signed-in Agent. If no Agent has the Conversation, it becomes yours. Returns the item ID and the time. The customer reads it, so there is no undo. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: reply_to_customer
NameTypeDescription
conversation_id string required string Conversation ID from list_my_customers, list_conversations or get_customer.
body string required string Text of the reply.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/gladly/conversations/conversation_8c41d2/customer/replies \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body":"body"}'
Python
result = client.call("gladly", "reply_to_customer", {"conversation_id":"conversation_8c41d2","body":"body"})
Node.js
const result = await cotlet.call('gladly', 'reply_to_customer', {"conversation_id":"conversation_8c41d2","body":"body"});
CLI
cotlet call gladly reply_to_customer --data '{"conversation_id":"conversation_8c41d2","body":"body"}'

Example response

JSON

{
  "item_id": "ybP4szYCSy6LdV4DNwEd6g",
  "conversation_id": "HXRqKC5GSV-jAlq0-sxYTA",
  "channel": "email",
  "sent_at": "2026-10-20T09:31:00Z"
}

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.