{
"id": 52130,
"tenant_id": 12,
"project_id": 9103,
"created_by": 1159,
"file_type_id": 123,
"file_description_id": 123,
"name": "signed-contract.pdf",
"mime_type": "application/pdf",
"size": 184320,
"caption": "<string>",
"description": "<string>",
"related_to_type": "oppcon_id",
"related_to_id": 6203,
"is_sensitive": false,
"is_visible_on_customer_portal": true,
"was_uploaded_from_vendor_portal": false,
"is_visible_on_vendor_portal": false,
"is_cover_photo": true,
"url": "https://cdn.contractorscloud.com/projects/9103/files/signed-contract.pdf",
"url_thumbnail": "<string>",
"related_to_name": "Contract",
"updated_at": "2025-02-11 10:10:00"
}Projects
Project File
A file or photo attached to a project.
A Project File represents a file or photo uploaded to a Project — contracts, permits, photos, and other documents. Files can be organized into folders, linked to another record on the project, and marked sensitive to restrict who can see them. Project Files support full CRUD through the Project Files endpoints.
The id of the folder this file is organized into, from the file-type reference data (see List available options). Null for photos and for files that aren't organized into any folder.
The type of record this file is linked to. See Create project file for the allowed values. Null if the file isn't linked to another record.
Example:
"oppcon_id"