Members
The people in the workspace, for assignments for example.
List workspace members
GET/members
Scope readPermission members:read
Members of the workspace (or of one project) with id, name, email and role — to assign work by name. Emails set to private in the profile are omitted.
Query parameters
-
projectIdstringOnly members of this project.
-
limitintegerPage size.
-
cursorstringOpaque cursor from the previous response's
nextCursor.
Response 200
Success.
-
membersarray of MemberShow 5 attributes
-
idstringrequiredUser id (use as assigneeIds / memberIds).
-
namestringrequired -
emailstring -
rolestringrequiredAllowed values:
OwnerAdminMemberGuest -
titlestring
-
-
nextCursorstring | null -
totalinteger
Errors
- 400
invalid_request: malformed body, missing field, invalid cursor. - 401
unauthorized: missing, invalid or revoked token. - 403
forbiddenor a plan code (plan-api-read-only,plan-api-disabled,plan-webhooks): missing scope or permission, or the plan does not allow it. - 404
not_found. - 429
rate_limitedordaily_write_limit.
curl "https://api.getprojectflow.com/v1/members?limit=50" \
-H "Authorization: Bearer pfat_YOUR_TOKEN"const res = await fetch('https://api.getprojectflow.com/v1/members?limit=50', {
headers: {
Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
},
});
const data = await res.json();import os
import requests
res = requests.get(
"https://api.getprojectflow.com/v1/members?limit=50",
headers={
"Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
},
)
data = res.json()var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/members?limit=50")!)
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": true,
"members": [
{
"id": "member_1",
"name": "Website relaunch",
"role": "Owner",
"email": "ada@example.com",
"title": "Prepare kickoff"
}
],
"nextCursor": null,
"total": 1,
"requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}