Send a message
Sends a message to the end customer as your operator.
This is how your own support agents reply through your panel instead of ours. The message reaches the customer on whichever channel the conversation belongs to, so the same call works for Instagram and Telegram.
Send a file by first uploading it with the attachments endpoint and passing the attachment_id you get back. A message may carry text, attachments, or both.
Set external_id to your own id for the message. Sending the same one twice returns the original message rather than creating a duplicate, so a retry after a timeout is safe.
A status of queued means the channel is rate limited and we will deliver it when capacity frees. Nothing is discarded.
Authentication
Your API key, issued by ParsChat sales. One key per account, spanning every robot you own. Send it as Authorization: Bearer pk_live_….
Path parameters
Request
The message_id this replies to, to thread it.
Response
Plain text body. Empty on a file-only message.
Files on this message. Empty on the response to sending a message — populated on inbound messages and on the message webhook event.
sent once we have handed it to the channel. queued when the channel is rate limited and it will go out later.