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 claims files previously uploaded via POST .../pending-attachments/ (see Tickets tag for the upload flow).
Authorizations
Path Parameters
^[-a-zA-Z0-9_]+$Body
1 - 255Display name used only when resolving or creating the requester Customer at ticket creation. After create, read customer.name for the live requester. Not updated when the requester is changed.
1 - 255Email used only to resolve or create the requester Customer at ticket creation. After create, read customer.email for the live requester. Not updated when the requester is changed.
1 - 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.
1When provided as a list (empty or not), sets creation-time BCC addresses used only for the ticket-created outbound email when CC email routing is enabled. Omitted or null leaves an empty list. Cannot overlap the requester or the CC list. Not applied to later associate replies.
1List of pending attachment IDs to attach to the new ticket. Upload files via the organization pending-attachments endpoints before creating the ticket.
Response
255Display name used only when resolving or creating the requester Customer at ticket creation. After create, read customer.name for the live requester. Not updated when the requester is changed.
255Email used only to resolve or create the requester Customer at ticket creation. After create, read customer.email for the live requester. Not updated when the requester is changed.
254When 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.
When provided as a list (empty or not), sets creation-time BCC addresses used only for the ticket-created outbound email when CC email routing is enabled. Omitted or null leaves an empty list. Cannot overlap the requester or the CC list. Not applied to later associate replies.