Create A Company WBS Segment
create_a_company_wbs_segmentCreates a new company-level Work Breakdown Structure segment in Procore. Provide company ID, name, and structure to create the segment and return its new ID.
Instructions
Create a new company level WBS Segment. Pass the record's fields as top-level arguments — they are nested under "segment" in the request payload for you. company_id defaults to the value set by procore_set_config when omitted. Creates the company WBS segment 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, name, structure. Procore API: Construction Financials > Work Breakdown Structure. Endpoint: POST /rest/v1.0/companies/{company_id}/work_breakdown_structure/segments
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | JSON request body field — segment Name | |
| structure | Yes | JSON request body field — the Structure for this Wbs Segment. | |
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| project_can_delete_origin_company | No | JSON request body field — whether Segment Items inherited from the company-level are able to be deleted from a Project. | |
| project_can_modify_origin_project | No | JSON request body field — whether project-specific Segment Items are able to be added/edited/removed from a Project. |