Create Cost Code
create_cost_codeCreate a new cost code in a Procore project and receive its unique ID. Requires project ID and cost code object.
Instructions
Create a new Cost Code. Creates the cost code 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: project_id, cost_code. Procore API: Construction Financials > Work Breakdown Structure. Endpoint: POST /rest/v1.0/cost_codes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost_code | Yes | JSON request body field — cost Code object | |
| project_id | Yes | JSON request body field — unique identifier for the project. | |
| sub_job_id | No | JSON request body field — unique identifier for the Sub Job |