Reference
Teams
Teams, their members and the projects they contribute to.
List teams
/orgs/{org}/teamsScope: people:read
The organisation's teams, as the Teams directory lists them: active ones, or archived=true for the archived. Filter by text, type, a member or a project the team contributes to. Guests see no teams (403 refused).
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
Query parameters
limitintegerHow many items a page holds, 1 to 200.
from 1 to 200; default 50
cursorstringThe next_cursor of the previous page; leave it out for the first page.
at most 1000 characters
countstringtrue adds total, the number of items in the whole list.
one of: true, false
qstringText in the team's name.
at most 255 characters
typestringone of: official, team
archivedstringtrue lists archived teams only.
one of: true, false
memberstringOnly teams this person is on (id or email).
1 to 320 characters
minestringtrue: only teams the token's person is on.
one of: true, false
projectstringOnly teams contributing to this project.
1 to 60 characters
sortstringname (the default), created_at or id; - for descending.
at most 100 characters
fieldsstringOnly these fields, comma-separated: id, name, description, type, joining, icon, member_count, is_member, archived, archived_at, parent, created_at. id always comes; the fields not asked for are left out, required or not.
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
itemsarray of TeamRequiredShow 12 fields
idstring (uuid)RequirednamestringRequireddescriptionstringRequiredtypestringRequiredofficial teams are made and changed by admins.
one of: official, team
joiningstringRequiredopen: anyone may join; invite: added by its members.
one of: open, invite
iconstringRequiredone of: users, rocket, code, palette, megaphone, wrench, shield, heart, briefcase, globe, lightbulb, flask
member_countintegerRequiredis_memberbooleanRequiredWhether the token's person is on the team.
archivedbooleanRequiredarchived_atstring (date-time) or nullRequiredparentobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
created_atstring (date-time)RequiredUTC, with Z.
next_cursorstring or nullRequiredPass as cursor to read the next page; null on the last page.
totalintegerThe number of items in the whole list, with count=true.
Errors
400
invalidinvalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.{ "error": { "code": "invalid", "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.", "status": 400, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }401
invalid_tokeninvalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).{ "error": { "code": "invalid_token", "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).", "status": 401, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }403
insufficient_scopeinsufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why.{ "error": { "code": "insufficient_scope", "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).", "status": 403, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }404
not_foundnot_found: Nothing is at this address, or the token's person can't see it: the answer is the same.{ "error": { "code": "not_found", "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.", "status": 404, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }429
rate_limitedrate_limited: Too many calls in this minute, for the token or for the whole organisation.{ "error": { "code": "rate_limited", "message": "Too many calls in this minute, for the token or for the whole organisation.", "status": 429, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }500
internalinternal: Something went wrong on projqo's side (never your mistake).{ "error": { "code": "internal", "message": "Something went wrong on projqo's side (never your mistake).", "status": 500, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }
Request
curl -X GET "https://projqo.example/api/v1/orgs/{org}/teams" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/teams", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
},
});
console.log(res.status, await res.json());import os
import requests
res = requests.get(
"https://projqo.example/api/v1/orgs/{org}/teams",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "6f7a8b9c-0d1e-4f2a-8b3c-4d5e6f7a8b9c",
"name": "Platform",
"description": "Keeps the lights on.",
"type": "official",
"joining": "invite",
"icon": "shield",
"member_count": 3,
"is_member": true,
"archived": false,
"archived_at": null,
"parent": null,
"created_at": "2026-11-20T08:00:00.000Z"
}
],
"next_cursor": null
}Create a team
/orgs/{org}/teamsScope: people:admin
Makes a team, as Teams > Create team does: any member may (official teams: owners and admins). The token's person is on it; members are added by id or email (no guests). A name already taken is 409 conflict.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
Headers
Idempotency-KeystringA unique key (such as a uuid): the same key and body within 24 hours gets the first answer again without a second create; another body gets 422.
1 to 200 characters
Body
namestringRequiredat most 1020 characters
descriptionstringat most 16000 characters
typestringofficial: owners and admins only.
one of: official, team
joiningstringone of: open, invite
iconstringone of: users, rocket, code, palette, megaphone, wrench, shield, heart, briefcase, globe, lightbulb, flask
membersarray of stringat most 100 items
parentstring (uuid) or nullThe parent team's id.
Answer
201 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
idstring (uuid)RequirednamestringRequireddescriptionstringRequiredtypestringRequiredofficial teams are made and changed by admins.
one of: official, team
joiningstringRequiredopen: anyone may join; invite: added by its members.
one of: open, invite
iconstringRequiredone of: users, rocket, code, palette, megaphone, wrench, shield, heart, briefcase, globe, lightbulb, flask
member_countintegerRequiredis_memberbooleanRequiredWhether the token's person is on the team.
archivedbooleanRequiredarchived_atstring (date-time) or nullRequiredparentobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
created_atstring (date-time)RequiredUTC, with Z.
Errors
400
invalidinvalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.{ "error": { "code": "invalid", "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.", "status": 400, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }401
invalid_tokeninvalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).{ "error": { "code": "invalid_token", "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).", "status": 401, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }403
insufficient_scopeinsufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).{ "error": { "code": "insufficient_scope", "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).", "status": 403, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }404
not_foundnot_found: Nothing is at this address, or the token's person can't see it: the answer is the same.{ "error": { "code": "not_found", "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.", "status": 404, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }409
conflictconflict: The thing changed since it was read, or the change clashes with its state. archived: The item (or its project) is archived, so it can't be changed.{ "error": { "code": "conflict", "message": "The thing changed since it was read, or the change clashes with its state.", "status": 409, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }413
too_largetoo_large: The body or a file is larger than allowed.{ "error": { "code": "too_large", "message": "The body or a file is larger than allowed.", "status": 413, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }415
unsupported_media_typeunsupported_media_type: The body isn't JSON.{ "error": { "code": "unsupported_media_type", "message": "The body isn't JSON.", "status": 415, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }422
idempotency_key_reusedidempotency_key_reused: The same Idempotency-Key was sent within 24 hours with a different body.{ "error": { "code": "idempotency_key_reused", "message": "The same Idempotency-Key was sent within 24 hours with a different body.", "status": 422, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }429
rate_limitedrate_limited: Too many calls in this minute, for the token or for the whole organisation.{ "error": { "code": "rate_limited", "message": "Too many calls in this minute, for the token or for the whole organisation.", "status": 429, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }500
internalinternal: Something went wrong on projqo's side (never your mistake).{ "error": { "code": "internal", "message": "Something went wrong on projqo's side (never your mistake).", "status": 500, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }
Request
curl -X POST "https://projqo.example/api/v1/orgs/{org}/teams" \
-H "Authorization: Bearer $PROJQO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"description": "string",
"type": "official",
"joining": "open",
"icon": "users",
"members": [
"string"
],
"parent": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10"
}'const res = await fetch("https://projqo.example/api/v1/orgs/{org}/teams", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"name": "string",
"description": "string",
"type": "official",
"joining": "open",
"icon": "users",
"members": [
"string"
],
"parent": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10"
}),
});
console.log(res.status, await res.json());import os
import requests
res = requests.post(
"https://projqo.example/api/v1/orgs/{org}/teams",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
json={
"name": "string",
"description": "string",
"type": "official",
"joining": "open",
"icon": "users",
"members": [
"string",
],
"parent": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
},
)
print(res.status_code, res.json())Sample answer 201
{
"id": "6f7a8b9c-0d1e-4f2a-8b3c-4d5e6f7a8b9c",
"name": "Platform",
"description": "Keeps the lights on.",
"type": "official",
"joining": "invite",
"icon": "shield",
"member_count": 3,
"is_member": true,
"archived": false,
"archived_at": null,
"parent": null,
"created_at": "2026-11-20T08:00:00.000Z"
}Get a team
/orgs/{org}/teams/{team}Scope: people:read
One team. Guests see no teams (403 refused).
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
teamstring (uuid)RequiredThe team's id.
The id comes from List teams.
Query parameters
fieldsstringOnly these fields, comma-separated: id, name, description, type, joining, icon, member_count, is_member, archived, archived_at, parent, created_at. id always comes; the fields not asked for are left out, required or not.
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
idstring (uuid)RequirednamestringRequireddescriptionstringRequiredtypestringRequiredofficial teams are made and changed by admins.
one of: official, team
joiningstringRequiredopen: anyone may join; invite: added by its members.
one of: open, invite
iconstringRequiredone of: users, rocket, code, palette, megaphone, wrench, shield, heart, briefcase, globe, lightbulb, flask
member_countintegerRequiredis_memberbooleanRequiredWhether the token's person is on the team.
archivedbooleanRequiredarchived_atstring (date-time) or nullRequiredparentobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
created_atstring (date-time)RequiredUTC, with Z.
Errors
400
invalidinvalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.{ "error": { "code": "invalid", "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.", "status": 400, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }401
invalid_tokeninvalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).{ "error": { "code": "invalid_token", "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).", "status": 401, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }403
insufficient_scopeinsufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why.{ "error": { "code": "insufficient_scope", "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).", "status": 403, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }404
not_foundnot_found: Nothing is at this address, or the token's person can't see it: the answer is the same.{ "error": { "code": "not_found", "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.", "status": 404, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }429
rate_limitedrate_limited: Too many calls in this minute, for the token or for the whole organisation.{ "error": { "code": "rate_limited", "message": "Too many calls in this minute, for the token or for the whole organisation.", "status": 429, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }500
internalinternal: Something went wrong on projqo's side (never your mistake).{ "error": { "code": "internal", "message": "Something went wrong on projqo's side (never your mistake).", "status": 500, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }
Request
curl -X GET "https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
},
});
console.log(res.status, await res.json());import os
import requests
res = requests.get(
"https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"id": "6f7a8b9c-0d1e-4f2a-8b3c-4d5e6f7a8b9c",
"name": "Platform",
"description": "Keeps the lights on.",
"type": "official",
"joining": "invite",
"icon": "shield",
"member_count": 3,
"is_member": true,
"archived": false,
"archived_at": null,
"parent": null,
"created_at": "2026-11-20T08:00:00.000Z"
}Change a team
/orgs/{org}/teams/{team}Scope: people:admin
Changes a team's name, description, joining, icon or type: its members and organisation admins may (type: admins only). An archived team can't be changed (409 archived).
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
teamstring (uuid)RequiredThe team's id.
The id comes from List teams.
Body
namestringat most 1020 characters
descriptionstringat most 16000 characters
typestringofficial: owners and admins only.
one of: official, team
joiningstringone of: open, invite
iconstringone of: users, rocket, code, palette, megaphone, wrench, shield, heart, briefcase, globe, lightbulb, flask
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
idstring (uuid)RequirednamestringRequireddescriptionstringRequiredtypestringRequiredofficial teams are made and changed by admins.
one of: official, team
joiningstringRequiredopen: anyone may join; invite: added by its members.
one of: open, invite
iconstringRequiredone of: users, rocket, code, palette, megaphone, wrench, shield, heart, briefcase, globe, lightbulb, flask
member_countintegerRequiredis_memberbooleanRequiredWhether the token's person is on the team.
archivedbooleanRequiredarchived_atstring (date-time) or nullRequiredparentobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
created_atstring (date-time)RequiredUTC, with Z.
Errors
400
invalidinvalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.{ "error": { "code": "invalid", "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.", "status": 400, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }401
invalid_tokeninvalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).{ "error": { "code": "invalid_token", "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).", "status": 401, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }403
insufficient_scopeinsufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).{ "error": { "code": "insufficient_scope", "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).", "status": 403, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }404
not_foundnot_found: Nothing is at this address, or the token's person can't see it: the answer is the same.{ "error": { "code": "not_found", "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.", "status": 404, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }409
conflictconflict: The thing changed since it was read, or the change clashes with its state. archived: The item (or its project) is archived, so it can't be changed.{ "error": { "code": "conflict", "message": "The thing changed since it was read, or the change clashes with its state.", "status": 409, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }413
too_largetoo_large: The body or a file is larger than allowed.{ "error": { "code": "too_large", "message": "The body or a file is larger than allowed.", "status": 413, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }415
unsupported_media_typeunsupported_media_type: The body isn't JSON.{ "error": { "code": "unsupported_media_type", "message": "The body isn't JSON.", "status": 415, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }429
rate_limitedrate_limited: Too many calls in this minute, for the token or for the whole organisation.{ "error": { "code": "rate_limited", "message": "Too many calls in this minute, for the token or for the whole organisation.", "status": 429, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }500
internalinternal: Something went wrong on projqo's side (never your mistake).{ "error": { "code": "internal", "message": "Something went wrong on projqo's side (never your mistake).", "status": 500, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }
Request
curl -X PATCH "https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
-H "Authorization: Bearer $PROJQO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"description": "string",
"type": "official",
"joining": "open",
"icon": "users"
}'const res = await fetch("https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10", {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"name": "string",
"description": "string",
"type": "official",
"joining": "open",
"icon": "users"
}),
});
console.log(res.status, await res.json());import os
import requests
res = requests.patch(
"https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
json={
"name": "string",
"description": "string",
"type": "official",
"joining": "open",
"icon": "users",
},
)
print(res.status_code, res.json())Sample answer 200
{
"id": "6f7a8b9c-0d1e-4f2a-8b3c-4d5e6f7a8b9c",
"name": "Platform",
"description": "Keeps the lights on.",
"type": "official",
"joining": "invite",
"icon": "shield",
"member_count": 3,
"is_member": true,
"archived": false,
"archived_at": null,
"parent": null,
"created_at": "2026-11-20T08:00:00.000Z"
}Delete a team
/orgs/{org}/teams/{team}Scope: people:admin
Deletes a team for good (its members; an official team: admins). Tasks whose Team it was keep no team.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
teamstring (uuid)RequiredThe team's id.
The id comes from List teams.
Answer
204 Done; no body.
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Errors
400
invalidinvalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.{ "error": { "code": "invalid", "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.", "status": 400, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }401
invalid_tokeninvalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).{ "error": { "code": "invalid_token", "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).", "status": 401, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }403
insufficient_scopeinsufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).{ "error": { "code": "insufficient_scope", "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).", "status": 403, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }404
not_foundnot_found: Nothing is at this address, or the token's person can't see it: the answer is the same.{ "error": { "code": "not_found", "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.", "status": 404, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }429
rate_limitedrate_limited: Too many calls in this minute, for the token or for the whole organisation.{ "error": { "code": "rate_limited", "message": "Too many calls in this minute, for the token or for the whole organisation.", "status": 429, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }500
internalinternal: Something went wrong on projqo's side (never your mistake).{ "error": { "code": "internal", "message": "Something went wrong on projqo's side (never your mistake).", "status": 500, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }
Request
curl -X DELETE "https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10", {
method: "DELETE",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
},
});
console.log(res.status);import os
import requests
res = requests.delete(
"https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code)Sample answer 204
No body.
Archive a team
/orgs/{org}/teams/{team}/archiveScope: people:admin
Archives a team (its members; an official team: admins). An archived team can't be changed or picked.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
teamstring (uuid)RequiredThe team's id.
The id comes from List teams.
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
idstring (uuid)RequirednamestringRequireddescriptionstringRequiredtypestringRequiredofficial teams are made and changed by admins.
one of: official, team
joiningstringRequiredopen: anyone may join; invite: added by its members.
one of: open, invite
iconstringRequiredone of: users, rocket, code, palette, megaphone, wrench, shield, heart, briefcase, globe, lightbulb, flask
member_countintegerRequiredis_memberbooleanRequiredWhether the token's person is on the team.
archivedbooleanRequiredarchived_atstring (date-time) or nullRequiredparentobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
created_atstring (date-time)RequiredUTC, with Z.
Errors
400
invalidinvalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.{ "error": { "code": "invalid", "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.", "status": 400, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }401
invalid_tokeninvalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).{ "error": { "code": "invalid_token", "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).", "status": 401, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }403
insufficient_scopeinsufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).{ "error": { "code": "insufficient_scope", "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).", "status": 403, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }404
not_foundnot_found: Nothing is at this address, or the token's person can't see it: the answer is the same.{ "error": { "code": "not_found", "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.", "status": 404, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }429
rate_limitedrate_limited: Too many calls in this minute, for the token or for the whole organisation.{ "error": { "code": "rate_limited", "message": "Too many calls in this minute, for the token or for the whole organisation.", "status": 429, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }500
internalinternal: Something went wrong on projqo's side (never your mistake).{ "error": { "code": "internal", "message": "Something went wrong on projqo's side (never your mistake).", "status": 500, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }
Request
curl -X POST "https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/archive" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/archive", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
},
});
console.log(res.status, await res.json());import os
import requests
res = requests.post(
"https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/archive",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"id": "6f7a8b9c-0d1e-4f2a-8b3c-4d5e6f7a8b9c",
"name": "Platform",
"description": "Keeps the lights on.",
"type": "official",
"joining": "invite",
"icon": "shield",
"member_count": 3,
"is_member": true,
"archived": false,
"archived_at": null,
"parent": null,
"created_at": "2026-11-20T08:00:00.000Z"
}Restore a team
/orgs/{org}/teams/{team}/restoreScope: people:admin
Restores an archived team (its members; an official team: admins).
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
teamstring (uuid)RequiredThe team's id.
The id comes from List teams.
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
idstring (uuid)RequirednamestringRequireddescriptionstringRequiredtypestringRequiredofficial teams are made and changed by admins.
one of: official, team
joiningstringRequiredopen: anyone may join; invite: added by its members.
one of: open, invite
iconstringRequiredone of: users, rocket, code, palette, megaphone, wrench, shield, heart, briefcase, globe, lightbulb, flask
member_countintegerRequiredis_memberbooleanRequiredWhether the token's person is on the team.
archivedbooleanRequiredarchived_atstring (date-time) or nullRequiredparentobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
created_atstring (date-time)RequiredUTC, with Z.
Errors
400
invalidinvalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.{ "error": { "code": "invalid", "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.", "status": 400, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }401
invalid_tokeninvalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).{ "error": { "code": "invalid_token", "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).", "status": 401, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }403
insufficient_scopeinsufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).{ "error": { "code": "insufficient_scope", "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).", "status": 403, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }404
not_foundnot_found: Nothing is at this address, or the token's person can't see it: the answer is the same.{ "error": { "code": "not_found", "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.", "status": 404, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }429
rate_limitedrate_limited: Too many calls in this minute, for the token or for the whole organisation.{ "error": { "code": "rate_limited", "message": "Too many calls in this minute, for the token or for the whole organisation.", "status": 429, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }500
internalinternal: Something went wrong on projqo's side (never your mistake).{ "error": { "code": "internal", "message": "Something went wrong on projqo's side (never your mistake).", "status": 500, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }
Request
curl -X POST "https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/restore" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/restore", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
},
});
console.log(res.status, await res.json());import os
import requests
res = requests.post(
"https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/restore",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"id": "6f7a8b9c-0d1e-4f2a-8b3c-4d5e6f7a8b9c",
"name": "Platform",
"description": "Keeps the lights on.",
"type": "official",
"joining": "invite",
"icon": "shield",
"member_count": 3,
"is_member": true,
"archived": false,
"archived_at": null,
"parent": null,
"created_at": "2026-11-20T08:00:00.000Z"
}List a team's members
/orgs/{org}/teams/{team}/membersScope: people:read
The team's members by name (every member of the organisation sees them).
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
teamstring (uuid)RequiredThe team's id.
The id comes from List teams.
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
itemsarray of TeamMemberRequiredShow 3 fields
idstring (uuid)RequirednamestringRequiredadded_atstring (date-time)RequiredUTC, with Z.
next_cursorstring or nullRequiredPass as cursor to read the next page; null on the last page.
totalintegerThe number of items in the whole list, with count=true.
Errors
400
invalidinvalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.{ "error": { "code": "invalid", "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.", "status": 400, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }401
invalid_tokeninvalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).{ "error": { "code": "invalid_token", "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).", "status": 401, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }403
insufficient_scopeinsufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why.{ "error": { "code": "insufficient_scope", "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).", "status": 403, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }404
not_foundnot_found: Nothing is at this address, or the token's person can't see it: the answer is the same.{ "error": { "code": "not_found", "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.", "status": 404, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }429
rate_limitedrate_limited: Too many calls in this minute, for the token or for the whole organisation.{ "error": { "code": "rate_limited", "message": "Too many calls in this minute, for the token or for the whole organisation.", "status": 429, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }500
internalinternal: Something went wrong on projqo's side (never your mistake).{ "error": { "code": "internal", "message": "Something went wrong on projqo's side (never your mistake).", "status": 500, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }
Request
curl -X GET "https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/members" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/members", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
},
});
console.log(res.status, await res.json());import os
import requests
res = requests.get(
"https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/members",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah",
"added_at": "2026-11-20T08:00:00.000Z"
}
],
"next_cursor": null
}Add people to a team
/orgs/{org}/teams/{team}/membersScope: people:admin
Adds people (by id or email; never guests) to a team: its members and organisation admins may. People already on it stay.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
teamstring (uuid)RequiredThe team's id.
The id comes from List teams.
Body
peoplearray of stringRequired1 to 100 items
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
itemsarray of TeamMemberRequiredShow 3 fields
idstring (uuid)RequirednamestringRequiredadded_atstring (date-time)RequiredUTC, with Z.
next_cursorstring or nullRequiredPass as cursor to read the next page; null on the last page.
totalintegerThe number of items in the whole list, with count=true.
Errors
400
invalidinvalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.{ "error": { "code": "invalid", "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.", "status": 400, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }401
invalid_tokeninvalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).{ "error": { "code": "invalid_token", "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).", "status": 401, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }403
insufficient_scopeinsufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).{ "error": { "code": "insufficient_scope", "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).", "status": 403, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }404
not_foundnot_found: Nothing is at this address, or the token's person can't see it: the answer is the same.{ "error": { "code": "not_found", "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.", "status": 404, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }409
archivedarchived: The item (or its project) is archived, so it can't be changed.{ "error": { "code": "archived", "message": "The item (or its project) is archived, so it can't be changed.", "status": 409, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }413
too_largetoo_large: The body or a file is larger than allowed.{ "error": { "code": "too_large", "message": "The body or a file is larger than allowed.", "status": 413, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }415
unsupported_media_typeunsupported_media_type: The body isn't JSON.{ "error": { "code": "unsupported_media_type", "message": "The body isn't JSON.", "status": 415, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }429
rate_limitedrate_limited: Too many calls in this minute, for the token or for the whole organisation.{ "error": { "code": "rate_limited", "message": "Too many calls in this minute, for the token or for the whole organisation.", "status": 429, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }500
internalinternal: Something went wrong on projqo's side (never your mistake).{ "error": { "code": "internal", "message": "Something went wrong on projqo's side (never your mistake).", "status": 500, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }
Request
curl -X POST "https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/members" \
-H "Authorization: Bearer $PROJQO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"people": [
"string"
]
}'const res = await fetch("https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/members", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"people": [
"string"
]
}),
});
console.log(res.status, await res.json());import os
import requests
res = requests.post(
"https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/members",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
json={
"people": [
"string",
],
},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"name": "string",
"added_at": "2026-12-01T09:30:00Z"
}
],
"next_cursor": "string",
"total": 1
}Remove someone from a team
/orgs/{org}/teams/{team}/members/{person}Scope: people:admin
Takes a person off a team: anyone may leave; its members and organisation admins take others off.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
teamstring (uuid)RequiredThe team's id.
The id comes from List teams.
personstringRequiredThe person's id, or their email address.
1 to 320 characters
The id comes from List people.
Answer
204 Done; no body.
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Errors
400
invalidinvalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.{ "error": { "code": "invalid", "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.", "status": 400, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }401
invalid_tokeninvalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).{ "error": { "code": "invalid_token", "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).", "status": 401, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }403
insufficient_scopeinsufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).{ "error": { "code": "insufficient_scope", "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).", "status": 403, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }404
not_foundnot_found: Nothing is at this address, or the token's person can't see it: the answer is the same.{ "error": { "code": "not_found", "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.", "status": 404, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }409
archivedarchived: The item (or its project) is archived, so it can't be changed.{ "error": { "code": "archived", "message": "The item (or its project) is archived, so it can't be changed.", "status": 409, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }429
rate_limitedrate_limited: Too many calls in this minute, for the token or for the whole organisation.{ "error": { "code": "rate_limited", "message": "Too many calls in this minute, for the token or for the whole organisation.", "status": 429, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }500
internalinternal: Something went wrong on projqo's side (never your mistake).{ "error": { "code": "internal", "message": "Something went wrong on projqo's side (never your mistake).", "status": 500, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }
Request
curl -X DELETE "https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/members/{person}" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/members/{person}", {
method: "DELETE",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
},
});
console.log(res.status);import os
import requests
res = requests.delete(
"https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/members/{person}",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code)Sample answer 204
No body.
List a team's projects
/orgs/{org}/teams/{team}/projectsScope: people:read
The projects the team contributes to that the token's person can open (others are left out, as if not there).
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
teamstring (uuid)RequiredThe team's id.
The id comes from List teams.
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
itemsarray of ProjectRefRequiredShow 3 fields
idstring (uuid)RequiredkeystringRequirednamestringRequired
next_cursorstring or nullRequiredPass as cursor to read the next page; null on the last page.
totalintegerThe number of items in the whole list, with count=true.
Errors
400
invalidinvalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.{ "error": { "code": "invalid", "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.", "status": 400, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }401
invalid_tokeninvalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).{ "error": { "code": "invalid_token", "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).", "status": 401, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }403
insufficient_scopeinsufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why.{ "error": { "code": "insufficient_scope", "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).", "status": 403, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }404
not_foundnot_found: Nothing is at this address, or the token's person can't see it: the answer is the same.{ "error": { "code": "not_found", "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.", "status": 404, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }429
rate_limitedrate_limited: Too many calls in this minute, for the token or for the whole organisation.{ "error": { "code": "rate_limited", "message": "Too many calls in this minute, for the token or for the whole organisation.", "status": 429, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }500
internalinternal: Something went wrong on projqo's side (never your mistake).{ "error": { "code": "internal", "message": "Something went wrong on projqo's side (never your mistake).", "status": 500, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }
Request
curl -X GET "https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/projects" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/projects", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
},
});
console.log(res.status, await res.json());import os
import requests
res = requests.get(
"https://projqo.example/api/v1/orgs/{org}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/projects",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"key": "string",
"name": "string"
}
],
"next_cursor": "string",
"total": 1
}