Create A New Crew
create_a_new_crewCreate a new crew for a specified Procore project using required project ID and optional details like name, members, equipment, and leader. Returns the created crew with its new ID for immediate use.
Instructions
Create a new Crew associated with the specified Project. Pass the record's fields as top-level arguments — they are nested under "crew" in the request payload for you. project_id defaults to the value set by procore_set_config when omitted. Creates the crew 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. Procore API: Core > Directory. Endpoint: POST /rest/v1.0/projects/{project_id}/crews
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | JSON request body field — crew Name | |
| party_ids | No | JSON request body field — array of party identifiers | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| equipment_ids | No | JSON request body field — array of equipment identifiers | |
| lead_party_id | No | JSON request body field — party Id of crew leader |