Create A New Group
create_a_new_groupCreate a new group within a layer for document markup. Supply company, project, name, and layer IDs to add the group.
Instructions
Create a new group within a layer. company_id and project_id default to the values set by procore_set_config when omitted. Creates the group 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, name, layer_id. Procore API (v2.0): Project Management > Document Markup. Endpoint: POST /rest/v2.0/companies/{company_id}/projects/{project_id}/groups
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | JSON request body field — the name for this Document Markup operation | |
| color | No | JSON request body field — the color for this Document Markup operation | |
| layer_id | Yes | JSON request body field — unique identifier of the layer | |
| settings | No | JSON request body field — the settings for this Document Markup operation | |
| company_id | Yes | URL path parameter — unique identifier of the company | |
| project_id | Yes | URL path parameter — unique identifier of the project | |
| visibility | No | JSON request body field — the visibility for this Document Markup operation | |
| order_index | No | JSON request body field — the order index for this Document Markup operation |