POST /rest/v1.0/workforce-planning/v2/companies/{company_id}/projects/{project_id}/roles

Assign a Person to a Role in a Project. A successful response returns the new Role UUID.

Servers

Path parameters

Name Type Required Description
project_id Integer Yes

Unique identifier for the project

company_id Yes

Unique identifier for the company. This parameter accepts both formats:

  • Recommended: Procore company ID (integer) - Use this for new integrations
  • Legacy: LaborChart UUID format (uuid string) - Supported for backward compatibility

A proxy layer automatically handles both formats, but using the Procore company ID is preferred for consistency with other Procore APIs.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Procore-Company-Id Integer Yes

Unique company identifier associated with the Procore User Account.

Request body fields

Name Type Required Description
person_id String Yes

UUID of the Person being assigned the Role.

job_title_id String No

UUID of the Job Title for the Role. If omitted, the Person's default Job Title is used.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.