Create Attachment
create_attachment_project_v1_0_2Creates an attachment for an incident in a Procore project. Specify project ID, incident ID, and the attachment file.
Instructions
Creates an attachment for the specified Incident. Use this to create a new Incidents in Procore. Creates a new Incidents and returns the created object on success (HTTP 201). 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 |
|---|---|---|---|
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| incident_id | Yes | URL path parameter — unique identifier of the incident | |
| 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... | |
| attachment | Yes | JSON request body field — incident Attachment. To upload an attachment you must upload the entire payload as `multipart/form-data` content-type with the `attachment` file. |