Tickets API
POST/api/v1/tickets/recurring/{definitionId}/clients
Product availabilityAlgaPSAAlgaDesk

Add clients to a recurring ticket definition

Adds clients to the definition; this is what starts ticket generation for them, one ticket per client per occurrence. Resolve client_ids with GET /api/v1/clients first. Clients already on the definition are ignored, so the call is safe to repeat. A new client is not backfilled: tickets start from the next occurrence. Returns definition, clients (each with client_id, client_name, is_active and asset_ids), next_due_at, time_zone and effective_fields, plus added (how many were new). A client_id that does not exist is 400.

RBAC · recurring_ticket

Path parameters

definitionIdstring <uuid>Required
Recurring ticket definition UUID, from GET /api/v1/tickets/recurring or the create response (definition.definition_id).

Request body

Content type: application/json · schema WorkV1RecurringTicketAddClientsBody

client_idsarray of stringRequired
client_id values (from GET /api/v1/clients) to add. Clients already on the definition are ignored. Adding a client is what starts ticket generation for it.
min items 1 · max items 100
itemsstring <uuid>

Response body

Success response 200 · schema WorkV1ApiSuccess

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

Response codes

200
The definition with the added count.
400
Validation failure, an invalid id, or a reference that does not exist.
401
API key missing/invalid.
403
RBAC denied for recurring_ticket update.
404
Recurring ticket definition not found.
409
The definition is archived and read-only.
500
Unexpected controller/service failure.