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
| Name | Type | Description |
|---|---|---|
| conversation_id string required | string | Thread from list_conversations. |
| body string required | string | Message text. |
Request
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."}' 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."}) 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."}); 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
{
"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."
}