v1

latestOpenAPI 3.1.02026-07-24334970.2 KB
Templates

Update a template

Partial update. Only provided fields are updated.

patch/templates/{id}

Path parameters

idstring uuid required

Unique identifier of the template.

Response

Successfully updated template.

idstring uuid

System-generated unique identifier for the template.

namestring

Name of the template.

templatestring

The customer-facing HTML content of the waiting room page. Limited to 50 KB. Must be a complete HTML5 document: <!DOCTYPE html>, <html>, <head>, <body>, and explicit </body> then </html>.

assignedPrioritiesCountinteger

Number of priorities currently using this template.

createdAtstring date-time

Timestamp when the template was created (ISO 8601 UTC).

updatedAtstring date-time

Timestamp when the template was last updated (ISO 8601 UTC).

Example response

{
  "id": "c1d2e3f4-5678-9abc-def0-123456789abc",
  "name": "Black Friday Theme",
  "template": "<!DOCTYPE html><html><head><title>Please wait</title></head><body>...</body></html>",
  "assignedPrioritiesCount": 2,
  "createdAt": "2025-10-01T12:00:00Z",
  "updatedAt": "2025-10-15T09:30:00Z"
}