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

Add a ticket watcher

Idempotent set-add of a watcher by exactly one of contact_id, user_id or email; an existing email is re-activated, not duplicated. An unknown or other-tenant contact/user, or one without an email, returns 422. Watchers are persistent (contacts, users or any email) and are copied on ticket updates; they are distinct from additional agents (internal staff, /agents) and from a comment cc (one-off, never joins the watch list). Unless silent=true the write emits one TICKET_UPDATED event; silent=true sets suppressContactNotifications and suppressInternalNotifications on it. The response is the full watcher list: {email, name, active, entity_type, entity_id, source}.

RBAC · ticket

Path parameters

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

Request body

Content type: application/json · schema WorkV1TicketWatcherBody

contact_idstring <uuid>
Client contact to watch; resolved to the contact email and name. Exactly one of contact_id, user_id, email.
user_idstring <uuid>
Internal user to watch; resolved to the user email and name. Exactly one of contact_id, user_id, email.
emailstring <email>
Any bare email address (external mailbox). Exactly one of contact_id, user_id, email.
namestring
Display name; only used when the watcher has no name yet.
min length 1 · max length 255
activeboolean
Whether the watcher receives updates; defaults to true.
silentboolean
Request-scoped, never stored. When true the write emits no customer or internal notification.

Response body

Success response 200 · schema WorkV1ApiSuccess

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

Response codes

200
Watcher added (or already present); full 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.
422
Contact or user not found in this tenant, or has no email.
500
Unexpected controller/service failure.