Conversation Provider Outbound Webhook Event

Conversation Provider - Outbound Message

Called whenever a user sends a message to a contact and has a custom provider as the default channel in the settings.

ChannelSupported Modules
SMSWeb App, Mobile App, Workflows, Bulk Actions
EmailWeb App, Mobile App, Workflows, Bulk Actions
contactId
string
locationId
string
messageId
string
emailMessageId
string
type
any
attachments
array
message
string
phone
string
emailTo
string
emailFrom
string
html
string
subject
string
userId
string
{
"contactId": "GKBhT6BfwY9mjzXAU3sq",
"locationId": "GKAWb4yu7A4LSc0skQ6g",
"messageId": "GKJxs4P5L8dWc5CFUITM",
"type": "SMS",
"phone": "+15864603685",
"message": "The text message to be sent to the contact",
"attachments": ["https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png"],
"userId": "GK56r6wdJDrkUPd0xsmx"
}
{
"contactId": "GKKFF0QB9gV8fGA6zEbr",
"locationId": "GKifVDyQeo7nwe27vMP0",
"messageId": "GK56r6wdJDrkUPd0xsmx",
"emailMessageId": "GK56r6wdJDrkUPd0xsmx",
"type": "Email",
"emailTo": ["abc@gmail.com"],
"emailFrom": "From Name <email@gmail.com>",
"attachments": ["https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png"],
"html": "<div style=\"font-family: verdana, geneva; font-size: 11pt;\"><p>Testing an outobund email from custom provider.</p></div>",
"subject": "Subject from Conversation Page",
"userId": "GK56r6wdJDrkUPd0xsmx"
}