Create Attachment
create_attachment_project_v1_0_4Create a checklist inspection attachment by supplying project ID, checklist ID, and attachment data. Adds a file to an existing inspection record.
Instructions
Creates an attachment for the specified Checklist (Inspection). project_id defaults to the value set by procore_set_config when omitted, and list_id must identify an existing parent record — resolve it with the matching list tool first. Creates the attachment 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: project_id, list_id, attachment. Procore API: Project Management > Inspections. Endpoint: POST /rest/v1.0/projects/{project_id}/checklist/lists/{list_id}/attachments
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | Yes | URL path parameter — checklist (Inspection) ID | |
| attachment | Yes | JSON request body field — [DEPRECATED] Checklist (Inspection) Attachment. The 'attachment' field using multipart/form-data content-type for file uploads is deprecated. Please use application/json content-type with the 'at... | |
| project_id | Yes | URL path parameter — unique identifier for the project. |