Export inspection to PDF/Word
documentedExport a specific inspection to PDF or Word format.
POST /audits/{audit_id}/exportInspectionsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.safetyculture.io/audits/{{$audit_id}}/export" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"report": {"filename_convention": "{{$report_filename_convention}}", "format": ["{{$report_format}}"], "preference_id": "{{$report_layout_id}}"}}'