Skip to main content

Send Message (Visitor)

Description

This API allows the visitor to send a message in the conversation.

Requested Payload:

  • text - To specify the text that will be sent as a message in the conversation.
  • file - To specify the file which will be shared in the conversation, you can also add comments to the file. Ex: {file : multipart/form-data , comment :"any comment "}

Note:

  1. The file size limit is 50 MB
  2. To use this API you must use an Org OAuth token. To know how to generate an Org OAuth token, please check our help guide here.

URL

Copiedhttps://{zohosalesiq_server_uri}/api/visitor/v1/{screen name}/conversations/{conversation_id}/messages

Example

Copiedhttps://salesiq.zoho.com/api/visitor/v1/zylkerinc/conversations/666300030000479029/messages 

Payload

Copied# To send text
{
"text" : "Can i find a solution for this error?" 
}
# To send file
{
"file": loginerror.png,
"comment": "Log in error" 
}