Create ticket
enchant_create_ticketDestructive
WRITE: create an email ticket. Give customer_id, or a customer (matched by contact email, created if new). Optionally add the customer's first message with body (needs the customer's email). Enchant REST: POST /tickets.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | First inbound message from the customer (plain text). | |
| subject | Yes | Ticket subject. | |
| user_id | No | User id to assign the ticket to. | |
| customer | No | Customer to find or create, instead of customer_id. | |
| inbox_id | No | Inbox id (the default inbox if omitted). | |
| customer_id | No | Existing customer id. Give this or customer. |