Send a message in a chat

Send a message to the given chat with the possibility to link some attachments.

Path Params
string
required

The id of the chat where to send the message.

Body Params
string
string

An account_id can be specified to prevent the user from sending messages in chats not belonging to the account.

string

Optional and for Slack’s messaging only. The id of the thread to send the message in.

string

The id of a message to quote. The id of the message to quote / reply to.

file

(Linkedin | WhatsApp) A file to send as voice message. WhatsApp: prefer .mp3 or .m4a. Linkedin: prefer .m4a. Instagram and Telegram: use the attachment field.

file

(Linkedin) A file to send as video message. WhatsApp: use attachments field.

attachments
array of files
attachments
string

(WhatsApp only) Set a duration in milliseconds to simulate a typing status for that duration before sending the message.

Responses

Language
Credentials
Header
URL
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json