Create ticket
Create a ticket. Optional inbox_id targets a specific inbox; when omitted, the ticket routes to the organization’s default inbox (is_default: true). Use created_by_role to choose associate-on-behalf (agent logs a ticket for a requester; always emails the customer) versus customer self-service (requester opens their own ticket; emails only when inbox auto-reply is enabled). When CC email routing is enabled, optional external_recipient_emails sets CC recipients for the new ticket: omit or send null for none; send a list (empty or not) to set recipients. The requester (from_email) is always included in that list. Optional attachment_ids attaches files uploaded via the organization pending-attachments endpoints.
Authorizations
Path Parameters
Body
1 - 2551 - 2551 - 254Optional inbox to route the new ticket. When omitted, the ticket is created in the organization's default inbox (is_default: true, typically named Main Inbox). Provide an inbox ID to target a specific mailbox; list available inboxes via the inboxes endpoint. Inbox-level settings (e.g. auto-reply) on the resolved inbox apply.
Who is creating the ticket via the API. Affects initial status, waiting_on, and whether the customer receives a ticket-created email. associate: an authenticated agent creates the ticket on behalf of the requester (from_email); use for phone support or proactive outreach. Sets status to active, waiting_on to customer, and created_by_user to the authenticated user. Always sends a ticket-created email to the customer, even when inbox auto-reply is disabled. customer: the requester creates the ticket for themselves (self-service portal, app, or integration acting as the end user). Sets status to created, waiting_on to associate, and leaves created_by_user unset. Sends a ticket-created email only when the inbox has auto-reply enabled.
associate- Associatecustomer- Customer
associate, customer When provided as a list (empty or not), sets the ticket external CC list when CC email routing is enabled; omitted or null leaves it as the default empty list. The ticket requester (from_email) is always kept on the list.
1List of pending attachment IDs to attach to the new ticket. Upload files via the organization pending-attachments endpoints before creating the ticket.
Response
255255254When provided as a list (empty or not), sets the ticket external CC list when CC email routing is enabled; omitted or null leaves it as the default empty list. The ticket requester (from_email) is always kept on the list.