Create Company Inspection Template Item Reference
create_company_inspection_template_item_referenceCreate a file or link reference for a company inspection template item in Procore. Provide company, template, item, and type to generate the reference and retrieve its ID.
Instructions
Creates a Company Inspection Template Item Reference for a specified Checklist Template Item. Pass the record's fields as top-level arguments — they are nested under "template_reference" in the request payload for you. company_id defaults to the value set by procore_set_config when omitted, and inspection_template_id must identify an existing parent record — resolve it with the matching list tool first. Creates the company inspection template item reference and returns it with its new id (HTTP 201); calling it again creates another record. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: company_id, inspection_template_id, item_id, type, payload. Procore API: Project Management > Inspections. Endpoint: POST /rest/v1.0/companies/{company_id}/inspection_templates/{inspection_template_id}/item_references
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | JSON request body field — company Inspection Template Item Reference Type | |
| item_id | Yes | JSON request body field — iD of the associated Company Inspection Template Item | |
| payload | Yes | JSON request body field — to upload an attachment you must upload the entire payload as `multipart/form-data` content-type | |
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| inspection_template_id | Yes | URL path parameter — the ID of the Company Inspection Template |