Create Company-Level Email
create_company_level_emailCreate a new email on a company-level communication in Procore. Provide company_id, communication_id, topic_type, and topic_id; resolve communication_id using the matching list tool first.
Instructions
Creates an email on a given company-level communication. Pass the record's fields as top-level arguments — they are nested under "email" in the request payload for you. company_id defaults to the value set by procore_set_config when omitted, and communication_id must identify an existing parent record — resolve it with the matching list tool first. Creates the company-level email 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, communication_id, topic_type, topic_id. Procore API: Project Management > Emails. Endpoint: POST /rest/v1.0/companies/{company_id}/email_communications/{communication_id}/emails
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body field — body of the email | |
| topic_id | Yes | Query string parameter — unique identifier of the topic | |
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| topic_type | Yes | Query string parameter — the type of the topic to be associated with the communication | |
| upload_ids | No | JSON request body field — array of upload identifiers | |
| communication_id | Yes | URL path parameter — unique identifier of the communication | |
| distribution_ids | No | JSON request body field — an array of IDs of the Distributions of the topic | |
| prostore_file_ids | No | JSON request body field — array of prostore file identifiers | |
| cc_distribution_ids | No | JSON request body field — user IDs on the email CC distribution | |
| bcc_distribution_ids | No | JSON request body field — user IDs on the email BCC distribution |