Add an inbound message
POST/conversations/messages/inbound
Post the necessary fields for the API to add a new inbound message.
Note: Either conversationId or contactId is required
Request
API Version
v3- application/json
- Body
- Example (auto)
Bodyrequired
Message Type
SMSEmailWhatsAppGMBIGFBCustomWebChatLive_ChatCallArray of attachments
Message Body
Conversation Id
Contact Id
Conversation Provider Id
HTML Body of Email
Subject of the Email
Email address to send from. This field is associated with the contact record and cannot be dynamically changed.
Recipient email address. This field is associated with the contact record and cannot be dynamically changed.
List of email address to CC
List of email address to BCC
Send the email message id for which this email should be threaded. This is for replying to a specific email
external mail provider's message id
Message direction, if required can be set manually, default is outbound
outboundDate of the inbound message
Phone call dialer and receiver information
{
"type": "SMS",
"attachments": [
"string"
],
"message": "string",
"conversationId": "ve9EPM428h8vShlRW1KT",
"contactId": "ve9EPM428h8vShlRW1KT",
"conversationProviderId": "61d6d1f9cdac7612faf80753",
"html": "string",
"subject": "string",
"emailTo": "string",
"emailCc": [
],
"emailBcc": [
],
"emailMessageId": "string",
"altId": "61d6d1f9cdac7612faf80753",
"direction": [
"outbound",
"inbound"
],
"date": "2024-07-29T15:51:28.071Z",
"call": {
"to": "+15037081210",
"from": "+15037081210",
"status": "completed"
}
}
Created the message
- application/json
- Schema
- Example (auto)
Schema
Conversation ID.
This is the main Message ID
{
"success": true,
"conversationId": "ABC12h2F6uBrIkfXYazb",
"messageId": "t22c6DQcTDf3MjRhwf77",
"message": "string",
"contactId": "string",
"dateAdded": "2024-07-29T15:51:28.071Z",
"emailMessageId": "string"
}