Create Image
create_imageUpload an image to a Project's Photo Album. Provide the project ID, image name, and image file to create a new photo record in Procore.
Instructions
Upload and add a new Image to a Project's Photo Album (Image Category). Use this to create a new Photos in Procore. Creates a new Photos and returns the created object on success (HTTP 201). Required parameters: project_id, image_name, image. Procore API: Project Management > Photos. Endpoint: POST /rest/v1.0/images
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Query string parameter — unique identifier for the project. | |
| upload_uuid | No | JSON request body field — uUID referencing a previously completed Upload. This is the recommended approach for image uploads. See Company Uploads or Project Uploads for instructions on how use uploads. You should not use bo... | |
| image_name | Yes | JSON request body field — the name of the image file to be uploaded. Required when using an upload_uuid to upload the image. | |
| image | Yes | JSON request body field — at least one attribute is required even when an 'upload_uuid' key is provided. If an 'upload_uuid' is not provided above, then the 'data' key must be provided |