Reply to a message

Reply to a comment or message in the Priority Inbox.

POST https://cotlet.dev/api/v1/sendible/messages/{message_id}/replies

write Confirm

Sends a reply as the profile the message came in on. It works for Facebook, Instagram and LinkedIn, the networks Sendible lets you reply on from the Priority Inbox. A Facebook private message can be answered only within 24 hours after it was sent. The reply is public for a comment and private for a message. 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 from list_inbox_messages.
body string required string Reply text.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/sendible/messages/msg_91f2/replies \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body":"Hi Dana, yes: we are open on Saturdays from 9 to 1. You can book at harbordental.example/book."}'
Python
result = client.call("sendible", "reply_to_message", {"message_id":"msg_91f2","body":"Hi Dana, yes: we are open on Saturdays from 9 to 1. You can book at harbordental.example/book."})
Node.js
const result = await cotlet.call('sendible', 'reply_to_message', {"message_id":"msg_91f2","body":"Hi Dana, yes: we are open on Saturdays from 9 to 1. You can book at harbordental.example/book."});
CLI
cotlet call sendible reply_to_message --data '{"message_id":"msg_91f2","body":"Hi Dana, yes: we are open on Saturdays from 9 to 1. You can book at harbordental.example/book."}'

Example response

JSON

{
  "message_id": "msg_91f2",
  "reply_id": "rep_5c10",
  "status": "sent",
  "profile": "Harbor Dental (Facebook Page)"
}

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.