Form templates

Update or archive/unarchive a form template

Edits name, project-required, the `fillableBy` audience, and/or blocks, and/or flips status (`{ "status": "archived" }` / `{ "status": "active" }`). Field edits apply first, then the status change.

PATCH
/form-templates/{id}

Edits name, project-required, the fillableBy audience, and/or blocks, and/or flips status ({ "status": "archived" } / { "status": "active" }). Field edits apply first, then the status change.

Authorization

x-api-key<token>

The per-tenant API key, copied from Settings → API & integrations. Sent as the x-api-key request header. The key is tenant-scoped and acts with Admin-equivalent, tenant-wide access.

In: header

Path Parameters

id*string

Resource id.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

All fields optional. status archives/unarchives; the other fields edit the template. Both may be sent together.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/form-templates/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "projectRequired": true,  "fillableBy": "all_crew",  "status": "active",  "blocks": [    {      "id": "string",      "kind": "heading",      "label": "string",      "required": true,      "confirmRead": true,      "options": [        "string"      ],      "items": [        "string"      ],      "lockToToday": true    }  ],  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}
{  "error": {    "code": "unauthorized",    "message": "Missing or invalid API key."  }}
{  "error": {    "code": "read_only",    "message": "Your subscription is inactive. This action is read-only."  }}
{  "error": {    "code": "not_found",    "message": "Not found."  }}
{  "error": {    "code": "validation",    "message": "One or more inputs are invalid.",    "fields": {      "fieldName": "A message explaining what's wrong with this field."    }  }}

Request a presigned upload URL for a form template document POST

**Step 1 of the two-step presigned upload**, as for a project's documents. Returns a short-lived signed PUT URL (`uploadUrl`) and an `uploadRef`. PUT the raw file bytes to `uploadUrl` (PDF/JPG/PNG, up to 25 MB), then register it with `POST /form-templates/{id}/documents`. Admin only.

Download one induction as a signed PDF GET

One register record as its **signed PDF** — the document half of `GET /induction-registrations/{id}`, as `GET /diary-entries/pdf` is for the diary. One PDF per induction: someone who signed twice has two records, and two PDFs. Contents (A4, usually one page): the business name/logo, the worker's name, the project and the site address **as it was when they signed**, company, contact number, White Card number (or "Visitor — not asked" / "Doesn't have one yet"), emergency contact, the declaration **as they signed it** (intro and numbered points), the signature image, and when they signed ("Signed Tuesday 11 August 2026 at 10:44 am AEST", in the business's timezone). A signature that can't be read prints "Signature unavailable". **The IP address is never included.** It's the same file the web app puts in the project-data export's `inductions/` folder and in the induction register's **Export → Download PDFs (zip)**. `projectId` is optional: given, it must be the record's project, else `404`. The response is **streamed** (`Content-Disposition: attachment`). Not on MCP by design: `get_induction_registration` gives an assistant the same data; the PDF is only a presentation of it.