Messages

Send a message with files or a voice note

Send a message into one conversation, with files, a voice note or a video note, or as an answer to one message.

Pass text, a file, a voice note or a video note: at least one.

It sends into any conversation of yours, an InMail one too (chatId from list_inmail). It does not check whether the conversation takes replies, nor that the account is on the Sales Navigator contract the conversation was started on.

Docs: https://heyreagent.com/docs/actions/send_chat_message

post/v1/actions/send_chat_message

Request

  • Base URL: https://api.heyreagent.com
  • URL: https://api.heyreagent.com/v1/actions/send_chat_message
  • Auth: HTTP bearer

Request body

chatIdstring required

The conversation id (from list_chats).

textstring

The message text. Optional when a file or note is sent.

attachmentUrlsstring[]

Files or images to attach. Public https links; each file up to 10 MB, 20 MB in total.

voiceMessageUrlstring uri

An audio file to send as a voice note (.m4a preferred). A public https link, up to 10 MB.

videoMessageUrlstring uri

A video file to send as a video note. A public https link, up to 10 MB.

replyToMessageIdstring

Quote and answer this message of the conversation.

connectionIdstring

Which of your LinkedIn accounts to act from (its id from list_linkedin_accounts). Omit to use your first live one.

Response

It worked. Inside result: sent, chatId, messageId, from, usedToday, dailyLimit.

oktrue required
resultobject required

What was asked for. A field that does not apply is left out, or is null.

Changes

No recorded changes to this operation across all 1 revision of this API.