Skip to main content
POST
/
projects
/
{project_id}
/
project_users
Add project user
curl --request POST \
  --url https://{your-workspace}.neetoinvoice.com/api/external/v1/projects/{project_id}/project_users \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '
{
  "project_user": {
    "user_id": "5a2de667-243b-4da3-b090-b698a03d98da",
    "role": "regular_user",
    "hourly_rate": 75.5
  },
  "email": "[email protected]"
}
'
{
  "project_user": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "role": "<string>",
    "hourly_rate": 123,
    "name": "<string>",
    "email": "[email protected]",
    "time_zone": "<string>"
  }
}
Replace {your-workspace} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying your subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.

Path Parameters

project_id
string
required

Unique ID of the project for which you want to retrieve or update details. Refer to Getting the Project ID section for detailed instructions.

Body

application/json
project_user
object
required
email
string<email>
required

Email of the person adding the project user.

Response

200 - application/json

OK - Project user added successfully

project_user
object