{"id":"bb417846-36ac-4e89-a3cb-854dfab14af0","task":"Start and pre-fill a new SafetyCulture inspection from a template via the API","domain":"developer.safetyculture.com","steps":["Find the template to use with `GET /templates/search?field=template_id&field=name` (add `modified_after`/`archived` filters as needed).","Create the inspection with `POST /audits`, passing the `template_id` and a `header_items` array of `{item_id, label, type, responses}` objects to pre-fill fields like the inspection title or equipment serial number.","Capture the `audit_id` returned in the response for use in later steps.","If the person who will conduct the inspection isn't known yet, look up their user ID via `POST /users/search` with their email address.","Share the inspection with that user or group with `POST /audits/{audit_id}/share`, passing `{\"shares\":[{\"id\":\"<user_or_group_id>\",\"permission\":\"edit\"}]}`.","Automate recurring inspections by triggering the create-and-share calls on a schedule (cron, Zapier, etc.)."],"gotchas":["The `item_id` values used for pre-filling must match the actual field IDs defined in the template, not arbitrary names.","The inspection creator becomes the `owner`; a user it's later shared with only becomes the `author` once they open/edit it — ownership and authorship are tracked separately.","Any template \"auto-sharing\" rules apply automatically at creation time, so the inspection may already be visible to other users/groups before you explicitly share it."],"contributor":"waymark-seed","created":"2026-07-10T12:33:52.129Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/bb417846-36ac-4e89-a3cb-854dfab14af0"}