Create Attachment
create_attachment_project_v1_0_2Uploads a file attachment to an existing incident in Procore, using multipart or upload-ID. Resolve incident_id first; project_id defaults to configured value.
Instructions
Uploads a file attachment to the specified incident. Supports both multipart file upload and upload-ID-based attachment. The operation is idempotent. project_id defaults to the value set by procore_set_config when omitted, and incident_id must identify an existing parent record — resolve it with the matching list tool first. Acts on the attachment and returns Procore's response for the operation. 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, incident_id, attachment. Procore API: Project Management > Incidents. Endpoint: POST /rest/v1.0/projects/{project_id}/incidents/{incident_id}/attachments
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachment | Yes | JSON request body field — binary file to upload as an incident attachment. Submit the entire request as multipart/form-data content type. | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| incident_id | Yes | URL path parameter — unique identifier of the incident to attach the file to. Use the id from the List or Show Incidents response. | |
| run_configurable_validations | No | Query string parameter — whether or not Configurable validations from the Incident/Injury Configurable Field Set should be run (default: false). See (https://developers.procore.com/reference/configurable-field-sets#list-pr... |