Change ticket assignee
Changes or removes the assignee of the current active ticket, or assigns the current queued ticket. Required API key scope: read-write.
For an active ticket, set newAssigneeId to a different active employee with channel access, or to null to remove the assignee and change status to pending_assignment. An active ticket must already have an assignee. For a queued ticket, supply an active human employee with channel access; this changes status to active. Both operations preserve the ticket and its history. A new or inactive ticket cannot be changed by this endpoint. Removing the assignee of an already queued ticket is rejected.
The response always includes previousAssigneeId, newAssigneeId, and status; assignee IDs can be null. Entering or leaving the queue emits one ticket.status_changed webhook with required assigneeId containing the resulting employee ID or null, and no additional ticket.assignee_changed event. Direct reassignment between employees while the ticket remains active emits only ticket.assignee_changed.
Authorizations
Path Parameters
Body
Ticket assignee change.
An active employee in the API key company with channel access, or null to remove the assignee from an active ticket and enter pending_assignment. Assigning from the queue requires a human employee. Repeating removal on an already queued ticket is rejected.
^[0-9a-fA-F]{24}$"64f000000000000000000001"