Create ticket
vision_create_ticketWRITE: confirm:true required. open a new ticket for a client, given by client id or email. By default no email and no autoresponder is sent; a normal ticket's first post is created on behalf of the client and shown to the client. Internal tickets are staff-only and cannot have client recipients or email enabled. Look up the department, status, priority and type ids first (vision_list_statuses, vision_list_priorities, vision_list_ticket_types). ticket / open_new_ticket.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC email addresses. | |
| from | Yes | The from address shown on the post, for example support@yourcompany.com. | |
| confirm | Yes | Required: confirm the exact change and any client-visible or email effects before setting true. | |
| message | Yes | The first post (HTML allowed). | |
| subject | Yes | Ticket subject. | |
| type_id | Yes | Ticket type id. | |
| internal | No | An internal ticket (default false). | |
| as_client | No | true (default): the post is the client's own; false: it is a staff reply. | |
| client_id | No | The client the ticket is for. Give this or client_email (not needed for an internal ticket). | |
| domain_id | Yes | Domain id the ticket is opened under (1 on a single-domain helpdesk). | |
| owner_ids | No | Staff ids that own the ticket. | |
| status_id | Yes | Status id. | |
| send_email | No | Send the post by email to the client (default false). | |
| priority_id | Yes | Priority id. | |
| client_email | No | A valid client email address. Give this or client_id. | |
| department_id | Yes | Department id. | |
| visible_to_client | No | Show the first post to the client (default true). | |
| send_autoresponder | No | Send the autoresponder email to the client (default false). |