tickets_create
Create a new ticket requiring a customer ID and subject. Line items cannot be added during creation; use a separate endpoint afterwards.
Instructions
Create a new ticket. Requires customer_id and subject at minimum. Note: line_items cannot be added inline during creation -- use tickets_add_line_item after the ticket is created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | Customer ID (required) | |
| subject | Yes | Ticket subject (required) | |
| ticket_type_id | No | Ticket type ID | |
| number | No | Custom ticket number | |
| due_date | No | Due date (ISO 8601) | |
| start_at | No | Start date (ISO 8601) | |
| end_at | No | End date (ISO 8601) | |
| location_id | No | Location ID | |
| problem_type | No | Problem type | |
| status | No | Ticket status | |
| user_id | No | Assigned user ID | |
| properties | No | Custom field values | |
| asset_ids | No | Asset IDs to link | |
| contact_id | No | Contact ID | |
| priority | No | Priority level | |
| tag_list | No | Tags | |
| sla_id | No | SLA ID | |
| comments_attributes | No | Initial comments |