Create Project Role
create_project_roleCreate a project role by linking a user and role in a specific Procore project. Returns the new project role ID and reports errors for authentication, permissions, or invalid IDs.
Instructions
Create a relationship between a User and a Role in a specified Project. Creates the project role 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, project_role. Procore API: Core > Project. Endpoint: POST /rest/v1.0/project_roles
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | JSON request body field — unique identifier for the project. | |
| project_role | Yes | JSON request body field — the project role for this Project operation |