Create Attachments
create_attachments_projectCreate an attachment for an existing asset in a Procore project. Resolve the asset_id first using the matching list tool, then post to add a new attachment record.
Instructions
Creates attachments for a given asset. company_id and project_id default to the values set by procore_set_config when omitted, and asset_id must identify an existing parent record — resolve it with the matching list tool first. Creates the attachment 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, project_id, asset_id. Procore API (v2.0): Core > Assets. Endpoint: POST /rest/v2.0/companies/{company_id}/projects/{project_id}/assets/{asset_id}/attachments
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | URL path parameter — unique identifier for the Asset | |
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| Accept-Language | No | JSON request body field — locale for localized response messages (for example: en, fr-FR, pseudo) |