Send Email For File Sharing
send_email_for_file_sharingSend a Procore file to selected recipients via email, with customizable subject, body, and CC/BCC distribution lists.
Instructions
Creates an new email for the specified Procore company. company_id defaults to the value set by procore_set_config when omitted, and id must identify an existing parent record — resolve it with the matching list tool first. Dispatches the message and returns a confirmation; calling it again sends another copy. 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, id. Procore API: Core > Documents. Endpoint: POST /rest/v1.0/companies/{company_id}/files/{id}/send_email
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier of the Documents resource | |
| body | No | JSON request body field — email Body | |
| subject | No | JSON request body field — email Subject | |
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| distribution_ids | No | JSON request body field — array of distribution identifiers | |
| cc_distribution_ids | No | JSON request body field — array of cc distribution identifiers | |
| bcc_distribution_ids | No | JSON request body field — bcc_distribution_ids |