User ID

Payload of the request to reply on behalf of a contact using their user_id

user_id
required
string

The external_id you have defined for the contact.

Array of objects (Conversation attachment files) <= 10 items

A list of files that will be added as attachments. You can include up to 10 files.

message_type
required
string
Value: "comment"
type
required
string
Value: "user"
body
required
string

The text body of the comment.

created_at
integer

The time the reply was created. If not provided, the current time will be used.

attachment_urls
Array of strings <uri> (Attachment URLs) <= 10 items

A list of image URLs that will be added as attachments. You can include up to 10 URLs.

{ "user_id": "string", "attachment_files": [ ], "message_type": "comment", "type": "user", "body": "string", "created_at": 1590000000, "attachment_urls": [ "http://example.com" ] }