Skip to content

Admin Reply

Payload of the request to reply on behalf of an admin

message_typestringrequired
Enum:"comment""note"
typestringrequired
Value:"admin"
Example:"admin"
bodystring

The text body of the reply. Notes accept some HTML formatting. Must be present for comment and note message types.

Example:"Hello there!"
admin_idstringrequired

The id of the admin who is authoring the comment.

Example:"3156780"
created_atinteger

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

Example:1590000000
attachment_urlsArray of strings, (uri), <= 10 items

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

attachment_filesArray of objects, <= 10 items(Conversation attachment files)

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

{ "message_type": "comment", "type": "admin", "body": "Hello there!", "admin_id": "3156780", "created_at": 1590000000, "attachment_urls": [ "http://example.com" ], "attachment_files": [ {} ] }