Create Unified Company Upload
create_unified_company_uploadCreate a company-level file upload for Procore, supporting standard and segmented uploads with signed URLs returned for completing the upload.
Instructions
Creates a company-level file upload (no project scope) for the given company. Supports both standard (single-part) and segmented (multi-part) uploads with the same request and response shape as project-level create. Returns signed upload URL(s) in the segments array; the client completes the flow with PATCH when applicable. company_id defaults to the value set by procore_set_config when omitted. Creates the unified company upload 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: company_id, file_name, file_size, content_type, segments. Procore API (v2.1): Core > File Access & Storage. Endpoint: POST /rest/v2.1/companies/{company_id}/uploads
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| md5 | No | JSON request body field — the md5 for this File Access & Storage operation | |
| sha256 | No | JSON request body field — the sha256 for this File Access & Storage operation | |
| segments | Yes | JSON request body field — upload file segments. Files up to 104857600 bytes (100 MB) require a single segment, while larger files may be split into multiple segments. A maximum of 10000 segments is permitted per file. | |
| analytics | No | JSON request body field — the analytics for this File Access & Storage operation | |
| file_name | Yes | JSON request body field — the file name for this File Access & Storage operation | |
| file_size | Yes | JSON request body field — file size in bytes. Minimum: 1 byte. | |
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| content_type | Yes | JSON request body field — the content type for this File Access & Storage operation | |
| url_expires_in | No | JSON request body field — the url expires in for this File Access & Storage operation | |
| custom_metadata | No | JSON request body field — the custom metadata for this File Access & Storage operation | |
| uploader_tool_name | No | JSON request body field — client-reported tool name matching one of the allowed tools |