Create Attachment
create_attachment_project_v1_0_5Attach a file to a specific incident action in Procore. Required: project ID, action ID, and the file to upload.
Instructions
Creates an attachment for the specified Action. 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, action_id, attachment. Procore API: Project Management > Incidents. Endpoint: POST /rest/v1.0/projects/{project_id}/incidents/actions/{action_id}/attachments
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| action_id | Yes | URL path parameter — unique identifier of the action | |
| attachment | Yes | JSON request body field — action Attachment. To upload an attachment you must upload the entire payload as `multipart/form-data` content-type with the `attachment` file. |