Skip to main content
POST
Assign ticket
Assign a ticket to a human agent, AI agent, team queue, or unassigned state.

Required access

Body

string
required
Ticket chat UUID to assign. Use the records[].id value from List tickets; do not pass the human-readable ticket code.
string
required
Assignment type. Supported values are agent, pilot, team, and unassigned. Use agent for a human agent, pilot for an AI agent, team for a team queue, and unassigned to clear assignment.
string
Assignee UUID. Required for agent, pilot, and team assignments. For assignee_type: "pilot", use an AI agent ID. For assignee_type: "agent", use a human agent ID. For assignee_type: "team", use the team ID. Omit this field for unassigned. See Resource IDs.

Response

boolean
required
Whether the assignment succeeded.
object
required
Updated ticket chat object.