API reference
People
The members of a project and their roles. Endpoints, parameters, examples and errors.
On this page
The members of a project and their roles. A member (mem_…) is one person’s place in one project: tasks are assigned to members, while people (usr_…) are who they are everywhere. Project admins add organization members directly; anyone else is invited.
List project members
#Lists a project’s people, owner first, then in the order they joined.
GET /api/v1/projects/{projectId}/members- Scopes:
projects:read - Who: Viewer or above in the project
- Project-limited credentials: allowed inside the credential’s projects; anything else is
not_found - Retries: a read; safe to repeat
- Rate limit: the
readbucket - MCP tool:
list_members
Returns the people in the project with their roles, owner first. Each member’s id (mem_…) is what tasks are assigned to (assigneeMemberId); userId (usr_…) is the person. Every member of the project can list them, as in the app. total counts everyone.
Parameters
#| Name | In | Type | Required | Description |
|---|---|---|---|---|
projectId | path | id (prj_…) | Yes | Project id: prj_ followed by 32 lowercase hex digits, for example prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718. |
limit | query | integer, 1–100 | No | How many to return, 1–100, for example 50. Defaults to 50 (25 over MCP). |
cursor | query | string | No | The nextCursor from the previous page, to read the next one. Leave it out for the first page; start again without it when you change filters. Up to 2,048 characters. |
Response
#200 with a list of Member objects; while hasMore is true, pass nextCursor back as cursor (with the same filters) for the next page.
| Field | Type | Description |
|---|---|---|
object | "list" | |
hasMore | boolean | True when there is a next page. |
nextCursor | string or null | Pass it as cursor to read the next page; null on the last page. |
data | array of Member | |
total | integer, at least 0 | How many match in all (every page), counted up to 10,000; see totalIsLowerBound past that. |
totalIsLowerBound | boolean | True when there are more than total (the count stops at 10,000). |
Headers it sends: Link.
Errors
#| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_id | The id is for a different kind of resource |
| 400 | invalid_cursor | The cursor is not valid |
| 403 | insufficient_scope | The credential lacks the required access |
| 404 | not_found | Not found |
And the errors every operation can return: invalid_request, validation_failed, token_in_url, unauthenticated, invalid_token, rate_limited, internal_error, service_unavailable.
Example
#curl https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/members \
-H "Authorization: Bearer $TASKLOADER_API_KEY"const response = await fetch('https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/members', {
headers: {
Authorization: `Bearer ${process.env.TASKLOADER_API_KEY}`,
},
});
if (!response.ok) {
const problem = await response.json();
throw new Error(`${problem.code}: ${problem.detail}`);
}
const projectMembers = await response.json();import os
import requests
response = requests.get(
"https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/members",
headers={
"Authorization": f"Bearer {os.environ['TASKLOADER_API_KEY']}",
},
timeout=30,
)
if not response.ok:
problem = response.json()
raise RuntimeError(f"{problem['code']}: {problem['detail']}")
project_members = response.json()HTTP/1.1 200 OK
Content-Type: application/json
{
"object": "list",
"data": [
{
"object": "member",
"id": "mem_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
"projectId": "prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
"userId": "usr_kq3Xb1W9pZ0aLm7c",
"name": "Maya Patel",
"email": "[email protected]",
"role": "editor",
"color": "sage",
"joinedAt": "2026-09-15T09:12:00.000Z"
}
],
"hasMore": false,
"nextCursor": null,
"total": 1,
"totalIsLowerBound": false
}List people you can add to a project
#Lists members of the project’s organization who are not in the project yet.
GET /api/v1/projects/{projectId}/member-candidates- Scopes:
people:manage - Who: Admin or owner in the project
- Project-limited credentials: allowed inside the credential’s projects; anything else is
not_found - Retries: a read; safe to repeat
- Rate limit: the
readbucket, orsearchwhenqhas words - MCP tool:
list_members
Returns the members of the project’s organization who are not in the project, by name: a project admin can add them directly with add_project_member. Anyone else needs an invitation link (create_project_invitation). q keeps people whose name or email contains every word of it. For project owners and admins who are members of the organization themselves; a project admin who is only a guest of the organization gets 403 forbidden_role and invites people instead.
Parameters
#| Name | In | Type | Required | Description |
|---|---|---|---|---|
projectId | path | id (prj_…) | Yes | Project id: prj_ followed by 32 lowercase hex digits, for example prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718. |
q | query | string | No | Words to look for in names and email addresses, for example "maya". Every word must match. Up to 200 characters. |
limit | query | integer, 1–100 | No | How many to return, 1–100, for example 50. Defaults to 50 (25 over MCP). |
cursor | query | string | No | The nextCursor from the previous page, to read the next one. Leave it out for the first page; start again without it when you change filters. Up to 2,048 characters. |
Response
#200 with a list of MemberCandidate objects; while hasMore is true, pass nextCursor back as cursor (with the same filters) for the next page.
| Field | Type | Description |
|---|---|---|
object | "list" | |
hasMore | boolean | True when there is a next page. |
nextCursor | string or null | Pass it as cursor to read the next page; null on the last page. |
data | array of MemberCandidate |
Headers it sends: Link.
Errors
#| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_id | The id is for a different kind of resource |
| 400 | invalid_cursor | The cursor is not valid |
| 403 | insufficient_scope | The credential lacks the required access |
| 403 | forbidden_role | Your role does not allow this |
| 404 | not_found | Not found |
And the errors every operation can return: invalid_request, validation_failed, token_in_url, unauthenticated, invalid_token, rate_limited, internal_error, service_unavailable.
Example
#curl 'https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/member-candidates?q=maya' \
-H "Authorization: Bearer $TASKLOADER_API_KEY"const response = await fetch('https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/member-candidates?q=maya', {
headers: {
Authorization: `Bearer ${process.env.TASKLOADER_API_KEY}`,
},
});
if (!response.ok) {
const problem = await response.json();
throw new Error(`${problem.code}: ${problem.detail}`);
}
const memberCandidates = await response.json();import os
import requests
response = requests.get(
"https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/member-candidates",
params={"q": "maya"},
headers={
"Authorization": f"Bearer {os.environ['TASKLOADER_API_KEY']}",
},
timeout=30,
)
if not response.ok:
problem = response.json()
raise RuntimeError(f"{problem['code']}: {problem['detail']}")
member_candidates = response.json()HTTP/1.1 200 OK
Content-Type: application/json
{
"object": "list",
"data": [
{
"object": "member_candidate",
"userId": "usr_kq3Xb1W9pZ0aLm7c",
"name": "Maya Patel",
"email": "[email protected]"
}
],
"hasMore": false,
"nextCursor": null
}Add someone to a project
#Adds a member of the project’s organization to the project with a role.
POST /api/v1/projects/{projectId}/members- Scopes:
people:manage - Who: Admin or owner in the project
- Project-limited credentials: allowed inside the credential’s projects; anything else is
not_found - Retries: send
Idempotency-Keyto make retries safe - Rate limit: the
writebucket - MCP tool:
add_member
Adds a person to the project with a role (editor unless you say otherwise). Only members of the project’s organization can be added directly (422 not_organization_member): invite anyone else with create_project_invitation. Someone already in the project is 409 already_member, with their memberId and the role they keep: adding never changes a role (use change_project_member_role for that). For project owners and admins who are members of the organization; a project admin who is only a guest of it gets 403 forbidden_role. Send an Idempotency-Key to retry safely.
Parameters
#| Name | In | Type | Required | Description |
|---|---|---|---|---|
projectId | path | id (prj_…) | Yes | Project id: prj_ followed by 32 lowercase hex digits, for example prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718. |
Idempotency-Key | header | string | No | Makes a retry safe: the same key with the same request within 24 hours returns the first answer (with Idempotent-Replayed: true) instead of acting twice. 1 to 255 printable ASCII characters; a UUID works well. Keys belong to the credential that sent them. |
Request body
#A JSON object. Fields not listed are refused.
| Field | Type | Required | Description |
|---|---|---|---|
userId | id (usr_…) | Yes | User id: usr_ followed by the account id, for example usr_kq3Xb1W9pZ0aLm7c. |
role | "viewer" or "editor" or "admin" | No | viewer, editor or admin. Defaults to editor. |
Response
#201 with the new Member object.
| Field | Type | Description |
|---|---|---|
object | "member" | |
id | id (mem_…) | Member id: mem_ followed by 32 lowercase hex digits, for example mem_0b6f1d2a8c9e4f00a1b2c3d4e5f60718. |
projectId | id (prj_…) | Project id: prj_ followed by 32 lowercase hex digits, for example prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718. |
userId | id (usr_…) | User id: usr_ followed by the account id, for example usr_kq3Xb1W9pZ0aLm7c. |
name | string | The person’s name. |
email | string | The person’s email address. |
role | "viewer" or "editor" or "admin" or "owner" | A project role: viewer < editor < admin < owner. |
color | string | Their avatar colour in the app: sand, sage, blue, rose, lilac or gray. |
joinedAt | string (date-time) | RFC 3339 UTC with milliseconds, for example 2026-11-18T10:00:00.123Z. |
Headers it sends: Idempotent-Replayed.
Errors
#| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_id | The id is for a different kind of resource |
| 400 | invalid_idempotency_key | The Idempotency-Key header is not valid |
| 403 | insufficient_scope | The credential lacks the required access |
| 403 | forbidden_role | Your role does not allow this |
| 404 | not_found | Not found |
| 409 | already_member | Already a member |
| 409 | idempotency_key_in_progress | The original request is still running |
| 413 | payload_too_large | The request body is too large |
| 415 | unsupported_media_type | Unsupported media type |
| 422 | not_organization_member | Not in the organization |
| 422 | idempotency_key_reused | The Idempotency-Key was used for another request |
| 429 | too_many_projects | Too many projects |
And the errors every operation can return: invalid_request, validation_failed, token_in_url, unauthenticated, invalid_token, rate_limited, internal_error, service_unavailable.
Example
#curl https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/members \
-H "Authorization: Bearer $TASKLOADER_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"userId":"usr_kq3Xb1W9pZ0aLm7c","role":"editor"}'const response = await fetch('https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/members', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TASKLOADER_API_KEY}`,
'Content-Type': 'application/json',
'Idempotency-Key': crypto.randomUUID(),
},
body: JSON.stringify({ userId: 'usr_kq3Xb1W9pZ0aLm7c', role: 'editor' }),
});
if (!response.ok) {
const problem = await response.json();
throw new Error(`${problem.code}: ${problem.detail}`);
}
const projectMember = await response.json();import os
import uuid
import requests
response = requests.post(
"https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/members",
headers={
"Authorization": f"Bearer {os.environ['TASKLOADER_API_KEY']}",
"Content-Type": "application/json",
"Idempotency-Key": str(uuid.uuid4()),
},
json={"userId": "usr_kq3Xb1W9pZ0aLm7c", "role": "editor"},
timeout=30,
)
if not response.ok:
problem = response.json()
raise RuntimeError(f"{problem['code']}: {problem['detail']}")
project_member = response.json()HTTP/1.1 201 Created
Content-Type: application/json
{
"object": "member",
"id": "mem_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
"projectId": "prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
"userId": "usr_kq3Xb1W9pZ0aLm7c",
"name": "Maya Patel",
"email": "[email protected]",
"role": "editor",
"color": "sage",
"joinedAt": "2026-09-15T09:12:00.000Z"
}Change a member’s role
#Gives a project member another role: viewer, editor or admin.
PATCH /api/v1/projects/{projectId}/members/{memberId}- Scopes:
people:manage - Who: Admin or owner in the project
- Project-limited credentials: allowed inside the credential’s projects; anything else is
not_found - Retries: naturally idempotent: repeating it changes nothing more
- Rate limit: the
writebucket - MCP tool:
change_member_role
Sets a member’s role in the project (project owner and admins). Setting the role they already have changes nothing. The owner’s role never changes (owner_immutable). The member is looked for in the project from the path only: a member of another project is 404, like a missing one.
Parameters
#| Name | In | Type | Required | Description |
|---|---|---|---|---|
projectId | path | id (prj_…) | Yes | Project id: prj_ followed by 32 lowercase hex digits, for example prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718. |
memberId | path | id (mem_…) | Yes | Member id: mem_ followed by 32 lowercase hex digits, for example mem_0b6f1d2a8c9e4f00a1b2c3d4e5f60718. |
Request body
#A JSON object. Fields not listed are refused.
| Field | Type | Required | Description |
|---|---|---|---|
role | "viewer" or "editor" or "admin" | Yes | viewer (sees everything and comments), editor (also creates, edits and moves tasks) or admin (also manages people). |
Response
#200 with a Member object.
| Field | Type | Description |
|---|---|---|
object | "member" | |
id | id (mem_…) | Member id: mem_ followed by 32 lowercase hex digits, for example mem_0b6f1d2a8c9e4f00a1b2c3d4e5f60718. |
projectId | id (prj_…) | Project id: prj_ followed by 32 lowercase hex digits, for example prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718. |
userId | id (usr_…) | User id: usr_ followed by the account id, for example usr_kq3Xb1W9pZ0aLm7c. |
name | string | The person’s name. |
email | string | The person’s email address. |
role | "viewer" or "editor" or "admin" or "owner" | A project role: viewer < editor < admin < owner. |
color | string | Their avatar colour in the app: sand, sage, blue, rose, lilac or gray. |
joinedAt | string (date-time) | RFC 3339 UTC with milliseconds, for example 2026-11-18T10:00:00.123Z. |
Errors
#| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_id | The id is for a different kind of resource |
| 400 | invalid_idempotency_key | The Idempotency-Key header is not valid |
| 403 | insufficient_scope | The credential lacks the required access |
| 403 | forbidden_role | Your role does not allow this |
| 404 | not_found | Not found |
| 413 | payload_too_large | The request body is too large |
| 415 | unsupported_media_type | Unsupported media type |
| 422 | owner_immutable | The owner cannot be changed |
And the errors every operation can return: invalid_request, validation_failed, token_in_url, unauthenticated, invalid_token, rate_limited, internal_error, service_unavailable.
Example
#curl -X PATCH https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/members/mem_0b6f1d2a8c9e4f00a1b2c3d4e5f60718 \
-H "Authorization: Bearer $TASKLOADER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"role":"admin"}'const response = await fetch('https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/members/mem_0b6f1d2a8c9e4f00a1b2c3d4e5f60718', {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.TASKLOADER_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({ role: 'admin' }),
});
if (!response.ok) {
const problem = await response.json();
throw new Error(`${problem.code}: ${problem.detail}`);
}
const projectMemberRole = await response.json();import os
import requests
response = requests.patch(
"https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/members/mem_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
headers={
"Authorization": f"Bearer {os.environ['TASKLOADER_API_KEY']}",
"Content-Type": "application/json",
},
json={"role": "admin"},
timeout=30,
)
if not response.ok:
problem = response.json()
raise RuntimeError(f"{problem['code']}: {problem['detail']}")
project_member_role = response.json()HTTP/1.1 200 OK
Content-Type: application/json
{
"object": "member",
"id": "mem_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
"projectId": "prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
"userId": "usr_kq3Xb1W9pZ0aLm7c",
"name": "Maya Patel",
"email": "[email protected]",
"role": "admin",
"color": "sage",
"joinedAt": "2026-09-15T09:12:00.000Z"
}Remove someone from a project
#Takes a member out of the project; their tasks there become unassigned.
DELETE /api/v1/projects/{projectId}/members/{memberId}- Scopes:
people:manage - Who: Admin or owner in the project
- Project-limited credentials: allowed inside the credential’s projects; anything else is
not_found - Retries: send
Idempotency-Keyto make retries safe - Rate limit: the
writebucket - MCP tool:
remove_member
Removes a member from the project (project owner and admins). Their tasks in it become unassigned, each with a line in its history, and tasksUnassigned says how many. Their conversations with Taskloader’s assistant in the project are deleted. The owner cannot be removed (owner_immutable), and you cannot remove yourself (cannot_remove_self): use leave_project. They stay in the organization; remove_organization_member takes them out of every project.
Parameters
#| Name | In | Type | Required | Description |
|---|---|---|---|---|
projectId | path | id (prj_…) | Yes | Project id: prj_ followed by 32 lowercase hex digits, for example prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718. |
memberId | path | id (mem_…) | Yes | Member id: mem_ followed by 32 lowercase hex digits, for example mem_0b6f1d2a8c9e4f00a1b2c3d4e5f60718. |
Idempotency-Key | header | string | No | Makes a retry safe: the same key with the same request within 24 hours returns the first answer (with Idempotent-Replayed: true) instead of acting twice. 1 to 255 printable ASCII characters; a UUID works well. Keys belong to the credential that sent them. |
Response
#200 with a member object.
| Field | Type | Description |
|---|---|---|
object | "member" | |
id | id (mem_…) | Member id: mem_ followed by 32 lowercase hex digits, for example mem_0b6f1d2a8c9e4f00a1b2c3d4e5f60718. |
removed | true | |
tasksUnassigned | integer, at least 0 | How many of their tasks in the project are now unassigned. |
Headers it sends: Idempotent-Replayed.
Errors
#| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_id | The id is for a different kind of resource |
| 400 | invalid_idempotency_key | The Idempotency-Key header is not valid |
| 403 | insufficient_scope | The credential lacks the required access |
| 403 | forbidden_role | Your role does not allow this |
| 404 | not_found | Not found |
| 409 | idempotency_key_in_progress | The original request is still running |
| 413 | payload_too_large | The request body is too large |
| 415 | unsupported_media_type | Unsupported media type |
| 422 | owner_immutable | The owner cannot be changed |
| 422 | cannot_remove_self | Use leave to remove yourself |
| 422 | idempotency_key_reused | The Idempotency-Key was used for another request |
And the errors every operation can return: invalid_request, validation_failed, token_in_url, unauthenticated, invalid_token, rate_limited, internal_error, service_unavailable.
Example
#curl -X DELETE https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/members/mem_0b6f1d2a8c9e4f00a1b2c3d4e5f60718 \
-H "Authorization: Bearer $TASKLOADER_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"const response = await fetch('https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/members/mem_0b6f1d2a8c9e4f00a1b2c3d4e5f60718', {
method: 'DELETE',
headers: {
Authorization: `Bearer ${process.env.TASKLOADER_API_KEY}`,
'Idempotency-Key': crypto.randomUUID(),
},
});
if (!response.ok) {
const problem = await response.json();
throw new Error(`${problem.code}: ${problem.detail}`);
}
const projectMember = await response.json();import os
import uuid
import requests
response = requests.delete(
"https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/members/mem_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
headers={
"Authorization": f"Bearer {os.environ['TASKLOADER_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
timeout=30,
)
if not response.ok:
problem = response.json()
raise RuntimeError(f"{problem['code']}: {problem['detail']}")
project_member = response.json()HTTP/1.1 200 OK
Content-Type: application/json
{
"object": "member",
"id": "mem_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
"removed": true,
"tasksUnassigned": 3
}