curl --request GET \
--url https://{your-subdomain}.neetoinvoice.com/api/external/v2/projects/{project_id}/project-users \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetoinvoice.com/api/external/v2/projects/{project_id}/project-users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetoinvoice.com/api/external/v2/projects/{project_id}/project-users"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"total_count": 1,
"page": 1,
"page_size": 30,
"total_pages": 1,
"next_page": null,
"prev_page": null,
"project_users": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"role": "<string>",
"hourly_rate": 123,
"name": "<string>",
"email": "jsmith@example.com",
"time_zone": "<string>"
}
]
}List project users
List the users assigned to a project. Without page or page_size, the response holds every record on one page. When you send either one, the list is paginated: 30 per page by default and up to 100.
curl --request GET \
--url https://{your-subdomain}.neetoinvoice.com/api/external/v2/projects/{project_id}/project-users \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetoinvoice.com/api/external/v2/projects/{project_id}/project-users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetoinvoice.com/api/external/v2/projects/{project_id}/project-users"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"total_count": 1,
"page": 1,
"page_size": 30,
"total_pages": 1,
"next_page": null,
"prev_page": null,
"project_users": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"role": "<string>",
"hourly_rate": 123,
"name": "<string>",
"email": "jsmith@example.com",
"time_zone": "<string>"
}
]
}{your-subdomain} with your workspace’s subdomain. Learn how to find your subdomain in Workspace subdomain.
Headers
Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.
Path Parameters
Unique ID of the project for which you want to retrieve or update details. Refer to Getting the Project ID section for detailed instructions.
Query Parameters
Page of results to retrieve, starting from 1. Defaults to 1 when omitted.
Number of results per page. Defaults to 30 when omitted.
1 <= x <= 100Response
OK - Request succeeded
Total number of records across all pages.
1
Current page number.
1
Number of records per page.
30
Total number of pages.
1
Next page number, or null on the last page.
null
Previous page number, or null on the first page.
null