Tickets API
PUT/api/v1/tickets/templates/{templateId}
Product availabilityAlgaPSAAlgaDesk

Update a ticket template

Replaces the template wholesale: omitted fields are reset and the checklist you send replaces the stored items, so GET the template first and send it back edited. `is_active` activates or deactivates it (deactivating only hides it from manual use; recurring schedules keep running). Changes apply to every schedule that uses the template, from the next ticket each one creates.

RBAC · ticket_template

Path parameters

templateIdstring <uuid>Required
Ticket template UUID from ticket_templates.template_id.

Request body

Content type: application/json · schema WorkV1TicketTemplateUpdateBody

namestringRequired
Template name, unique among active templates in the tenant.
min length 1 · max length 200
notesstringNullable
Note for your team; never copied onto tickets.
max length 2000
titlestringRequired
Title the created ticket gets. May contain {{client}}, {{contact}}, {{due_date}}, {{month}} and {{year}}, which are filled in per ticket; any other {{token}} is rejected.
min length 1 · max length 500
descriptionstringNullable
Ticket description (plain text or serialized BlockNote JSON).
client_idstring <uuid>Nullable
Client the template belongs to. Omit or null to offer it for every client; set it to offer the template only on that client’s tickets. Resolve the UUID with GET /api/v1/clients first.
board_idstring <uuid>Nullable
Board the created ticket lands on. Resolve with GET /api/v1/boards first.
category_idstring <uuid>Nullable
Category on that board; a subcategory requires its parent category.
subcategory_idstring <uuid>Nullable
priority_idstring <uuid>Nullable
Priority. Resolve with GET /api/v1/tickets/priorities first.
itil_impactintegerNullable
≥ 1 · ≤ 5
itil_urgencyintegerNullable
≥ 1 · ≤ 5
tagsarray of string
Tag text applied to the created ticket (tag definitions are created as needed).
max items 50
itemsstring
min length 1 · max length 100
custom_fieldsobject
Custom field values copied onto the ticket.
offer_for_manual_useboolean
Whether the template is offered for manual ticket creation. Defaults to true; turn it off for templates only recurring schedules use.
checklistarray of object
The whole checklist, in order. On update this list replaces the stored items.
max items 200
itemsobject
item_namestringRequired
Checklist item text.
min length 1 · max length 500
descriptionstringNullable
is_requiredbooleanRequired
Whether the item gates ticket closure.
checklist_template_idstring <uuid>Nullable
Checklist template the item came from; leave null for a plain item.
linksarray of object
Documentation links (for example Hudu articles), in order. Every ticket created from the template (recurring schedule, instantiate, or manual) gets them as reference external links, readable at GET /api/v1/tickets/{id}/external-links. Duplicate (system, external_id) pairs are refused. On update this list replaces the stored links.
max items 50
itemsobject
systemstringRequired
Registry key of the external system: a built-in key ('hudu', 'generic', 'github', ...) or custom:<slug>.
min length 1
external_idstringRequired
Identifier of the record in the external system, e.g. the Hudu article id.
min length 1
realmstringNullable
Repository, server or workspace, for systems whose URL template needs one.
urlstring <uri>Nullable
Absolute http(s) link-out. Required for systems with no URL template (hudu, generic). Stored as given and never re-resolved when tickets are created.
titlestringNullable
Human title shown on the ticket, e.g. the article name.
max length 500
metadataobjectNullable
Free-form details, e.g. { hudu: { article_id, company_id } }.
is_activeboolean
Activate or deactivate the template. Deactivating only hides it from manual use; recurring schedules keep running.

Response body

Success response 200 · schema WorkV1ApiSuccess

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

Response codes

200
The updated ticket template.
400
Validation failure or a field that points at something that does not exist.
401
API key missing/invalid.
403
RBAC denied for ticket_template update.
404
Ticket template not found.
409
Another active template already has this name.
500
Unexpected controller/service failure.