Add a historical message to a conversation
Deprecated
POST
header
Authorization<token>csid*integerThe message to insert.
application/json- body
Input object for creating historical messages. Required attributes depends on the channel chosen.
channel?ChannelThe channel a conversation can be conducted on.
Value in
"widget_chat""phone""voice_mail""email""contact_form""callback""facebook_messenger"direction?DirectionThe direction a conversation can be
Value in
"outbound""inbound""internal"from_email?EmailStringA regular email.
to_email?EmailStringA regular email.
text?stringauthor_id?StringIdattachments?array<>A list of attachments.
The message was createde
application/json- response
data*curl -X POST 'https://example.com/v1/conversations/{csid}/messages/historical' \ -H 'Authorization: <API token>' \ -H 'Content-Type: application/json' \ -d '{}'{}
"data": {}
"id": "string",
"created_at": "2015-11-30T00:00:00:000Z",
"author_id": "string",
"channel": "widget_chat",
"direction": "widget_chat",
"attributes": {}
"text": "string",
"to_emails": "string",
"cc_email": "string",
"from_email": "string",
"inline_images": "string",
"attachments": "string",
"direction": "string",
"a_phone_number": "string",
"b_phone_number": "string",
"is_automated_message": "string",
"is_auto_reply": "string"