Conversations Messaging

Sending a message to an existing conversation

Examples

Please refer to this link for examples of how to use the different templates for our supported platforms.https://app.gitbook.com/o/drwsqj0yXIErJc9wqqa2/s/dnJZeZvhOMhDQA8SpjQM/~/changes/309/channels-api/supported-channels

Sending a message template to an existing conversation

{
   "participantType":"user",
   "participantId":"8e1a962c-ecbe-47b3-8def-b0398c332232",
   "template":{
      "projectId":"897b53e7-fd4d-4324-b9b4-83bdeaaafbb4",
      "version":"0da60a7e-6a60-42e5-ab8b-a494f5185d30",
      "locale":"en",
      "parameters":[  
      ]
   },
}

Sending simple text messages

{
   "participantType":"user",
   "participantId":"8e1a962c-ecbe-47b3-8def-b0398c332232",
   "body":{
      "type":"text",
      "text":{
         "text":"Hi Daniel, how can I help you?"
      }
   },
}

Last updated