Tickets API
POST/api/v1/tickets/{id}/agents
Product availabilityAlgaPSAAlgaDesk

Add a ticket additional agent

Adds a user as an additional agent on the ticket and publishes TICKET_ADDITIONAL_AGENT_ASSIGNED so notifications fire as they do in the UI. A ticket with no primary agent promotes the user to primary instead (TICKET_ASSIGNED). Returns the updated agent list; a duplicate returns 409.

RBAC · ticket

Path parameters

idstring <uuid>Required
UUID path identifier from underlying resource tables.

Request body

Content type: application/json · schema WorkV1TicketAgentBody

user_idstring <uuid>Required
User to add as an additional agent.
rolestring
Resource role recorded on the assignment; defaults to support.
max length 50

Response body

Success response 201 · schema WorkV1ApiSuccess

dataanyOfRequired
anyOf (option 1)object
anyOf (option 2)array of object
itemsobject
metaobject

Response codes

201
Agent added; updated agent list returned.
400
Validation or request parsing failure.
401
API key missing/invalid.
403
RBAC denied for ticket resource action.
404
Ticket or sub-resource not found.
409
User is already an additional agent on this ticket.
500
Unexpected controller/service failure.