Create Project Membership
create_project_membershipAdd a reference user to a Procore project by creating a project membership, specifying the project ID and party ID.
Instructions
Create a Project Membership for a party on the given Project. This endpoint can currently only be used to add reference users to a project. It cannot be used to add a user who has a login or to add vendors. Pass the record's fields as top-level arguments — they are nested under "project_membership" in the request payload for you. project_id defaults to the value set by procore_set_config when omitted. Creates the project membership 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, party_id. Procore API: Core > Directory. Endpoint: POST /rest/v1.0/projects/{project_id}/project_memberships
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| party_id | Yes | JSON request body field — the ID of the Party(reference user) to be added to the Project | |
| project_id | Yes | URL path parameter — unique identifier for the project. |