Skip to content

Send message

Send a message into a customer conversation.

POST https://me.instaply.com/api/send-message-to-customer-thread

{
"text": "Hello, I am a bot.",
"customerThreadId": "9999",
"internal": false
}
  • text (string) — Free-form message body. Omit if you send a template via contentSid.
  • contentSid (string) — Template identifier. Omit if you send text.
  • Exactly one of text or contentSid must be provided.
  • customerThreadId (string) — Target customer thread.
  • internal (boolean, optional) — false: visible to the customer. true: internal (employee-only).
Terminal window
curl -X POST "https://me.instaply.com/api/send-message-to-customer-thread" \
-H "token: your-api-token" \
-H "Content-Type: application/json" \
-d '{
"text": "Hello, I am a bot.",
"customerThreadId": "9999"
}'

WhatsApp and other channels may restrict when you can send free-form text vs templates. See Messaging windows & templates.