Reply to customer
enchant_reply_to_ticketDestructive
WRITE: send an outbound reply on a ticket. This SENDS A REAL EMAIL to the customer address in to. Use enchant_add_note for an internal note. Enchant REST: POST /tickets/{id}/messages (type reply, direction out).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Ticket id. | |
| to | Yes | Recipient address, normally the customer's email. | |
| body | Yes | Reply body. | |
| html | No | True if body is HTML (default false: plain text). | |
| user_id | Yes | Id of the user (agent) the reply is sent as; see enchant_list_users. | |
| attachment_ids | No | Ids of attachments already uploaded. |