Skip to main content

Assign or unassign a ticket

POST 

/v1/agents/:agentId/tickets/:ticketId/assign

x-scope: "tickets:write"

Assigns the ticket to a teammate, or unassigns it with "assigned_to": null. The teammate must be able to open the agent: a user_id from listAgentMembers with can_open_agent: true (422 assignee_not_allowed otherwise). Only the ticket changes: its conversation keeps its own assignee. Assigning a ticket to the teammate it already has is allowed. Mojeeb records the assignment as made by the person who created the key.

Request​

Responses​

The ticket as it now is, with its new assigned_to.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.