Reply to message

Reply to a comment or private message from the Smart Inbox.

POST https://cotlet.dev/api/v1/sprout-social/messages/{message_id}/replies

write Confirm

Sends a reply from the profile the message came to, as you. If your account uses reply approvals, the reply is submitted for approval instead of sent, and the response says so. Completing the message is a separate call. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: reply_to_message
NameTypeDescription
message_id string required string Message ID from list_inbox_messages.
text string required string Reply text.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/sprout-social/messages/msg_88a1f4/replies \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"Hi Lena, yes, the blue one is back. You can order it on our shop page today."}'
Python
result = client.call("sprout-social", "reply_to_message", {"message_id":"msg_88a1f4","text":"Hi Lena, yes, the blue one is back. You can order it on our shop page today."})
Node.js
const result = await cotlet.call('sprout-social', 'reply_to_message', {"message_id":"msg_88a1f4","text":"Hi Lena, yes, the blue one is back. You can order it on our shop page today."});
CLI
cotlet call sprout-social reply_to_message --data '{"message_id":"msg_88a1f4","text":"Hi Lena, yes, the blue one is back. You can order it on our shop page today."}'

Example response

JSON

{
  "message_id": "msg_88a1f4",
  "status": "sent",
  "sent_at": "2026-10-17T09:05:00+02:00"
}

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.