Reply to conversation

Send a reply in a Conversations thread with Send Reply.

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

write Confirm

Sends one text message in the thread to the subscriber. It counts as usage, as a campaign would, and works for US and Canadian subscribers. It does not Resolve the thread or Opt Out the subscriber; both stay in the dashboard. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: reply_to_conversation
NameTypeDescription
conversation_id string required string Thread from list_conversations.
body string required string Message text.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/postscript/conversations/c_90412/replies \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body":"Hi Dana, your order shipped on Monday. The tracking link is in your confirmation email. Reply here if it has not arrived by Friday."}'
Python
result = client.call("postscript", "reply_to_conversation", {"conversation_id":"c_90412","body":"Hi Dana, your order shipped on Monday. The tracking link is in your confirmation email. Reply here if it has not arrived by Friday."})
Node.js
const result = await cotlet.call('postscript', 'reply_to_conversation', {"conversation_id":"c_90412","body":"Hi Dana, your order shipped on Monday. The tracking link is in your confirmation email. Reply here if it has not arrived by Friday."});
CLI
cotlet call postscript reply_to_conversation --data '{"conversation_id":"c_90412","body":"Hi Dana, your order shipped on Monday. The tracking link is in your confirmation email. Reply here if it has not arrived by Friday."}'

Example response

JSON

{
  "conversation_id": "c_90412",
  "status": "sent",
  "body": "Hi Dana, your order shipped on Monday. The tracking link is in your confirmation email. Reply here if it has not arrived by Friday."
}

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.