Reference
Projects
Projects: list, read, create and change them; archive, trash, restore and delete; features and categories.
- GETList projects
- POSTCreate a project
- GETGet a project
- PATCHUpdate a project
- DELETEDelete a project for good
- PATCHSwitch a project's features
- POSTArchive a project
- POSTMove a project to the trash
- POSTRestore a project
- GETList the projects in the trash
- GETList project categories
- POSTCreate a project category
- GETGet a project category
- PATCHUpdate a project category
- DELETEDelete a project category
List projects
/orgs/{org}/projectsScope: projects:read
The projects the token's person can open (a project they hold no role in doesn't appear, D1), active by default. Filter by state, kind, category, lead and text; sort by name, key or created.
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
statestringactive (default) or archived. The trash is GET /project-trash.
one of: active, archived
kindstringone of: team, organisation
categorystringA category's id, or none for projects without one.
at most 40 characters
leadstringThe lead's id or email.
1 to 320 characters
qstringText in the name or key.
at most 200 characters
sortstringname (default), key or created; several comma-separated, - for descending.
at most 100 characters
fieldsstringOnly these fields, comma-separated: id, key, name, kind, state, family, lead, category, can_administer. 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 ProjectSummaryRequiredShow 9 fields
idstring (uuid)RequiredkeystringRequirednamestringRequiredkindstringRequiredteam: a Team project with its own roles; organisation: an Organisation project on the organisation's schemes.
one of: team, organisation
statestringRequiredone of: active, archived
familystringRequiredone of: software, business
leadobject or nullRequiredShow 3 fields
idstring (uuid)RequirednamestringRequiredformerbooleanRequiredtrue when the lead has left the organisation.
categoryobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
can_administerbooleanRequiredWhether the token's person administers the project.
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.{ "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}/projects" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/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}/projects",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
"key": "WEB",
"name": "Website",
"kind": "organisation",
"state": "active",
"family": "software",
"lead": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah",
"former": false
},
"category": {
"id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
"name": "Customer work"
},
"can_administer": true
}
],
"next_cursor": null
}Create a project
/orgs/{org}/projectsScope: projects:write
Creates a project from a template, as the app's wizard does: the person needs Create Team projects or Create Organisation projects; the creator becomes its admin. Keys and names are unique (409 conflict when taken). A category is an organisation admin's to give.
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 200 characters
keystringRequired2 to 10 letters and digits, starting with a letter.
at most 20 characters
kindstringRequiredteam: a Team project with its own roles; organisation: an Organisation project on the organisation's schemes.
one of: team, organisation
templatestringThe template's id (scrum, kanban, …); required unless custom_template is given.
one of: scrum, kanban, bug_tracking, blank, project_management, task_tracking, business, campaign, content, hiring, purchasing, contract_review, office_moves, event_planning, gtm_launch, email_campaigns, social_calendar, brand_assets, facilities, asset_tracking, process_control, vendor_management, onboarding, offboarding, performance_reviews, training, budget_planning, expenses, month_end, legal_requests, policy_reviews, document_approval
custom_templatestring (uuid)A saved project template's id.
share_settings_withstringOrganisation projects: share this Organisation project's settings.
1 to 60 characters
categorystring (uuid) or nulltask_typesarray of objectat most 20 items
Show 3 fields
namestringRequiredat most 60 characters
iconstringRequiredone of: epic, story, task, bug, subtask
levelone of 3 shapesRequired1: above tasks (Epic), 0: a task, -1: a subtask.
Show the 3 shapes
Shape 1
number
Shape 2
number
Shape 3
number
statusesarray of objectat most 30 items
Show 2 fields
namestringRequiredat most 60 characters
categorystringRequiredone of: todo, in_progress, done
viewsarray of stringat most 15 items
Answer
201 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
idstring (uuid)RequiredkeystringRequirednamestringRequiredkindstringRequiredteam: a Team project with its own roles; organisation: an Organisation project on the organisation's schemes.
one of: team, organisation
statestringRequiredone of: active, archived
familystringRequiredone of: software, business
leadobject or nullRequiredShow 3 fields
idstring (uuid)RequirednamestringRequiredformerbooleanRequiredtrue when the lead has left the organisation.
categoryobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
can_administerbooleanRequiredWhether the token's person administers the project.
descriptionstringRequiredurlstring or nullRequirediconstringRequiredtemplatestringRequireddefault_assigneestringRequiredone of: lead, unassigned
featuresobjectRequiredWhat is switched on in the project.
Show 4 fields
sprintsbooleanRequiredestimationstringRequiredone of: off, story_points, time
standupsbooleanRequiredviewsarray of objectRequiredThe project's views (tabs): board, backlog, list, releases, …
Show 3 fields
kindstringRequirednamestringRequiredis_defaultbooleanRequired
docs_spaceobject or nullRequiredThe linked Docs space, when the token's person can open it.
Show 2 fields
keystringRequirednamestringRequired
my_rolesarray of stringRequiredmy_permissionsarray of stringRequiredcreated_atstring (date-time)RequiredUTC, with Z.
archived_atstring (date-time) or nullRequired
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. limit_reached: A limit was reached (of the plan, or of how many of something one person may have).{ "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}/projects" \
-H "Authorization: Bearer $PROJQO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"key": "string",
"kind": "team",
"template": "scrum",
"custom_template": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"share_settings_with": "string",
"category": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"task_types": [
{
"name": "string",
"icon": "epic",
"level": -1
}
],
"statuses": [
{
"name": "string",
"category": "todo"
}
],
"views": [
"summary"
]
}'const res = await fetch("https://projqo.example/api/v1/orgs/{org}/projects", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"name": "string",
"key": "string",
"kind": "team",
"template": "scrum",
"custom_template": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"share_settings_with": "string",
"category": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"task_types": [
{
"name": "string",
"icon": "epic",
"level": -1
}
],
"statuses": [
{
"name": "string",
"category": "todo"
}
],
"views": [
"summary"
]
}),
});
console.log(res.status, await res.json());import os
import requests
res = requests.post(
"https://projqo.example/api/v1/orgs/{org}/projects",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
json={
"name": "string",
"key": "string",
"kind": "team",
"template": "scrum",
"custom_template": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"share_settings_with": "string",
"category": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"task_types": [
{
"name": "string",
"icon": "epic",
"level": -1,
},
],
"statuses": [
{
"name": "string",
"category": "todo",
},
],
"views": [
"summary",
],
},
)
print(res.status_code, res.json())Sample answer 201
{
"id": "1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
"key": "WEB",
"name": "Website",
"kind": "organisation",
"state": "active",
"family": "software",
"lead": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah",
"former": false
},
"category": {
"id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
"name": "Customer work"
},
"can_administer": true,
"description": "The public website.",
"url": "https://example.com",
"icon": "rocket",
"template": "scrum",
"default_assignee": "unassigned",
"features": {
"sprints": true,
"estimation": "story_points",
"standups": false,
"views": [
{
"kind": "board",
"name": "Board",
"is_default": true
},
{
"kind": "backlog",
"name": "Backlog",
"is_default": false
}
]
},
"docs_space": null,
"my_roles": [
"Administrator"
],
"my_permissions": [
"administer_project",
"browse_project",
"create_tasks"
],
"created_at": "2026-11-17T09:30:00.000Z",
"archived_at": null
}Get a project
/orgs/{org}/projects/{project}Scope: projects:read
One project by key, old key (after a key change) or id: its details, features, views, and the token's person's roles and permissions there. A project the person can't open answers 404, as one that doesn't exist.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
projectstringRequiredThe project's key (WEB), an old key, or its id.
1 to 60 characters
The id comes from List projects.
Query parameters
fieldsstringOnly these fields, comma-separated: id, key, name, kind, state, family, lead, category, can_administer, description, url, icon, template, default_assignee, features, docs_space, my_roles, my_permissions, created_at, archived_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)RequiredkeystringRequirednamestringRequiredkindstringRequiredteam: a Team project with its own roles; organisation: an Organisation project on the organisation's schemes.
one of: team, organisation
statestringRequiredone of: active, archived
familystringRequiredone of: software, business
leadobject or nullRequiredShow 3 fields
idstring (uuid)RequirednamestringRequiredformerbooleanRequiredtrue when the lead has left the organisation.
categoryobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
can_administerbooleanRequiredWhether the token's person administers the project.
descriptionstringRequiredurlstring or nullRequirediconstringRequiredtemplatestringRequireddefault_assigneestringRequiredone of: lead, unassigned
featuresobjectRequiredWhat is switched on in the project.
Show 4 fields
sprintsbooleanRequiredestimationstringRequiredone of: off, story_points, time
standupsbooleanRequiredviewsarray of objectRequiredThe project's views (tabs): board, backlog, list, releases, …
Show 3 fields
kindstringRequirednamestringRequiredis_defaultbooleanRequired
docs_spaceobject or nullRequiredThe linked Docs space, when the token's person can open it.
Show 2 fields
keystringRequirednamestringRequired
my_rolesarray of stringRequiredmy_permissionsarray of stringRequiredcreated_atstring (date-time)RequiredUTC, with Z.
archived_atstring (date-time) or nullRequired
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.{ "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}/projects/{project}" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/projects/{project}", {
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}/projects/{project}",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"id": "1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
"key": "WEB",
"name": "Website",
"kind": "organisation",
"state": "active",
"family": "software",
"lead": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah",
"former": false
},
"category": {
"id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
"name": "Customer work"
},
"can_administer": true,
"description": "The public website.",
"url": "https://example.com",
"icon": "rocket",
"template": "scrum",
"default_assignee": "unassigned",
"features": {
"sprints": true,
"estimation": "story_points",
"standups": false,
"views": [
{
"kind": "board",
"name": "Board",
"is_default": true
},
{
"kind": "backlog",
"name": "Backlog",
"is_default": false
}
]
},
"docs_space": null,
"my_roles": [
"Administrator"
],
"my_permissions": [
"administer_project",
"browse_project",
"create_tasks"
],
"created_at": "2026-11-17T09:30:00.000Z",
"archived_at": null
}Update a project
/orgs/{org}/projects/{project}Scope: projects:write
Changes a project's details, as its Details settings do: name, key (the old key keeps working), category, lead, default assignee, description, address and icon. The project's admins only (others get 404, as the settings are hidden from them); an Organisation project's key and category are the organisation admins'.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
projectstringRequiredThe project's key (WEB), an old key, or its id.
1 to 60 characters
The id comes from List projects.
Body
namestringat most 80 characters
keystringat most 20 characters
categorystring (uuid) or nullleadstring or nullThe lead's id or email; null for none.
default_assigneestringone of: lead, unassigned
descriptionstringat most 5000 characters
urlstring or nulliconstringone of: rocket, spark, leaf, bolt, flag, compass, cube, heart, star, globe
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
idstring (uuid)RequiredkeystringRequirednamestringRequiredkindstringRequiredteam: a Team project with its own roles; organisation: an Organisation project on the organisation's schemes.
one of: team, organisation
statestringRequiredone of: active, archived
familystringRequiredone of: software, business
leadobject or nullRequiredShow 3 fields
idstring (uuid)RequirednamestringRequiredformerbooleanRequiredtrue when the lead has left the organisation.
categoryobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
can_administerbooleanRequiredWhether the token's person administers the project.
descriptionstringRequiredurlstring or nullRequirediconstringRequiredtemplatestringRequireddefault_assigneestringRequiredone of: lead, unassigned
featuresobjectRequiredWhat is switched on in the project.
Show 4 fields
sprintsbooleanRequiredestimationstringRequiredone of: off, story_points, time
standupsbooleanRequiredviewsarray of objectRequiredThe project's views (tabs): board, backlog, list, releases, …
Show 3 fields
kindstringRequirednamestringRequiredis_defaultbooleanRequired
docs_spaceobject or nullRequiredThe linked Docs space, when the token's person can open it.
Show 2 fields
keystringRequirednamestringRequired
my_rolesarray of stringRequiredmy_permissionsarray of stringRequiredcreated_atstring (date-time)RequiredUTC, with Z.
archived_atstring (date-time) or nullRequired
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.{ "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}/projects/{project}" \
-H "Authorization: Bearer $PROJQO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"key": "string",
"category": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"lead": "string",
"default_assignee": "lead",
"description": "string",
"url": "string",
"icon": "rocket"
}'const res = await fetch("https://projqo.example/api/v1/orgs/{org}/projects/{project}", {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"name": "string",
"key": "string",
"category": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"lead": "string",
"default_assignee": "lead",
"description": "string",
"url": "string",
"icon": "rocket"
}),
});
console.log(res.status, await res.json());import os
import requests
res = requests.patch(
"https://projqo.example/api/v1/orgs/{org}/projects/{project}",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
json={
"name": "string",
"key": "string",
"category": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"lead": "string",
"default_assignee": "lead",
"description": "string",
"url": "string",
"icon": "rocket",
},
)
print(res.status_code, res.json())Sample answer 200
{
"id": "1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
"key": "WEB",
"name": "Website",
"kind": "organisation",
"state": "active",
"family": "software",
"lead": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah",
"former": false
},
"category": {
"id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
"name": "Customer work"
},
"can_administer": true,
"description": "The public website.",
"url": "https://example.com",
"icon": "rocket",
"template": "scrum",
"default_assignee": "unassigned",
"features": {
"sprints": true,
"estimation": "story_points",
"standups": false,
"views": [
{
"kind": "board",
"name": "Board",
"is_default": true
},
{
"kind": "backlog",
"name": "Backlog",
"is_default": false
}
]
},
"docs_space": null,
"my_roles": [
"Administrator"
],
"my_permissions": [
"administer_project",
"browse_project",
"create_tasks"
],
"created_at": "2026-11-17T09:30:00.000Z",
"archived_at": null
}Delete a project for good
/orgs/{org}/projects/{project}Scope: projects:write
Deletes a project in the trash, with its tasks, for good (organisation owners and admins). A project that isn't in the trash answers 409: move it to the trash first.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
projectstringRequiredThe project's key (WEB), an old key, or its id.
1 to 60 characters
The id comes from List projects.
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
conflictconflict: The thing changed since it was read, or the change clashes with its state.{ "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" } }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}/projects/{project}" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/projects/{project}", {
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}/projects/{project}",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code)Sample answer 204
No body.
Switch a project's features
/orgs/{org}/projects/{project}/featuresScope: projects:write
Switches sprints, estimation and standups on or off, as the project's Features settings do (a Team project's admins; an Organisation project has only standups here, its board decides the rest). Sprints need the Backlog view. The project's views are read in features.views.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
projectstringRequiredThe project's key (WEB), an old key, or its id.
1 to 60 characters
The id comes from List projects.
Body
sprintsbooleanestimationstringone of: off, story_points, time
standupsboolean
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
idstring (uuid)RequiredkeystringRequirednamestringRequiredkindstringRequiredteam: a Team project with its own roles; organisation: an Organisation project on the organisation's schemes.
one of: team, organisation
statestringRequiredone of: active, archived
familystringRequiredone of: software, business
leadobject or nullRequiredShow 3 fields
idstring (uuid)RequirednamestringRequiredformerbooleanRequiredtrue when the lead has left the organisation.
categoryobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
can_administerbooleanRequiredWhether the token's person administers the project.
descriptionstringRequiredurlstring or nullRequirediconstringRequiredtemplatestringRequireddefault_assigneestringRequiredone of: lead, unassigned
featuresobjectRequiredWhat is switched on in the project.
Show 4 fields
sprintsbooleanRequiredestimationstringRequiredone of: off, story_points, time
standupsbooleanRequiredviewsarray of objectRequiredThe project's views (tabs): board, backlog, list, releases, …
Show 3 fields
kindstringRequirednamestringRequiredis_defaultbooleanRequired
docs_spaceobject or nullRequiredThe linked Docs space, when the token's person can open it.
Show 2 fields
keystringRequirednamestringRequired
my_rolesarray of stringRequiredmy_permissionsarray of stringRequiredcreated_atstring (date-time)RequiredUTC, with Z.
archived_atstring (date-time) or nullRequired
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.{ "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}/projects/{project}/features" \
-H "Authorization: Bearer $PROJQO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"sprints": true,
"estimation": "off",
"standups": true
}'const res = await fetch("https://projqo.example/api/v1/orgs/{org}/projects/{project}/features", {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"sprints": true,
"estimation": "off",
"standups": true
}),
});
console.log(res.status, await res.json());import os
import requests
res = requests.patch(
"https://projqo.example/api/v1/orgs/{org}/projects/{project}/features",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
json={
"sprints": True,
"estimation": "off",
"standups": True,
},
)
print(res.status_code, res.json())Sample answer 200
{
"id": "1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
"key": "WEB",
"name": "Website",
"kind": "organisation",
"state": "active",
"family": "software",
"lead": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah",
"former": false
},
"category": {
"id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
"name": "Customer work"
},
"can_administer": true,
"description": "The public website.",
"url": "https://example.com",
"icon": "rocket",
"template": "scrum",
"default_assignee": "unassigned",
"features": {
"sprints": true,
"estimation": "story_points",
"standups": false,
"views": [
{
"kind": "board",
"name": "Board",
"is_default": true
},
{
"kind": "backlog",
"name": "Backlog",
"is_default": false
}
]
},
"docs_space": null,
"my_roles": [
"Administrator"
],
"my_permissions": [
"administer_project",
"browse_project",
"create_tasks"
],
"created_at": "2026-11-17T09:30:00.000Z",
"archived_at": null
}Archive a project
/orgs/{org}/projects/{project}/archiveScope: projects:write
Archives an active project (organisation owners and admins): it stays readable and its tasks can't be changed until it is restored.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
projectstringRequiredThe project's key (WEB), an old key, or its id.
1 to 60 characters
The id comes from List projects.
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
idstring (uuid)RequiredkeystringRequirednamestringRequiredkindstringRequiredteam: a Team project with its own roles; organisation: an Organisation project on the organisation's schemes.
one of: team, organisation
statestringRequiredone of: active, archived
familystringRequiredone of: software, business
leadobject or nullRequiredShow 3 fields
idstring (uuid)RequirednamestringRequiredformerbooleanRequiredtrue when the lead has left the organisation.
categoryobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
can_administerbooleanRequiredWhether the token's person administers the project.
descriptionstringRequiredurlstring or nullRequirediconstringRequiredtemplatestringRequireddefault_assigneestringRequiredone of: lead, unassigned
featuresobjectRequiredWhat is switched on in the project.
Show 4 fields
sprintsbooleanRequiredestimationstringRequiredone of: off, story_points, time
standupsbooleanRequiredviewsarray of objectRequiredThe project's views (tabs): board, backlog, list, releases, …
Show 3 fields
kindstringRequirednamestringRequiredis_defaultbooleanRequired
docs_spaceobject or nullRequiredThe linked Docs space, when the token's person can open it.
Show 2 fields
keystringRequirednamestringRequired
my_rolesarray of stringRequiredmy_permissionsarray of stringRequiredcreated_atstring (date-time)RequiredUTC, with Z.
archived_atstring (date-time) or nullRequired
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.{ "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" } }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}/projects/{project}/archive" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/projects/{project}/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}/projects/{project}/archive",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"id": "1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
"key": "WEB",
"name": "Website",
"kind": "organisation",
"state": "archived",
"family": "software",
"lead": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah",
"former": false
},
"category": {
"id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
"name": "Customer work"
},
"can_administer": true,
"description": "The public website.",
"url": "https://example.com",
"icon": "rocket",
"template": "scrum",
"default_assignee": "unassigned",
"features": {
"sprints": true,
"estimation": "story_points",
"standups": false,
"views": [
{
"kind": "board",
"name": "Board",
"is_default": true
},
{
"kind": "backlog",
"name": "Backlog",
"is_default": false
}
]
},
"docs_space": null,
"my_roles": [
"Administrator"
],
"my_permissions": [
"administer_project",
"browse_project",
"create_tasks"
],
"created_at": "2026-11-17T09:30:00.000Z",
"archived_at": "2026-12-02T10:00:00.000Z"
}Move a project to the trash
/orgs/{org}/projects/{project}/trashScope: projects:write
Moves a project to the trash (organisation owners and admins; a Team project's admins too). It and its tasks are hidden from everyone; organisation admins restore it within the trash's days, then it is deleted.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
projectstringRequiredThe project's key (WEB), an old key, or its id.
1 to 60 characters
The id comes from List projects.
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
conflictconflict: The thing changed since it was read, or the change clashes with its state.{ "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" } }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}/projects/{project}/trash" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/projects/{project}/trash", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
},
});
console.log(res.status);import os
import requests
res = requests.post(
"https://projqo.example/api/v1/orgs/{org}/projects/{project}/trash",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code)Sample answer 204
No body.
Restore a project
/orgs/{org}/projects/{project}/restoreScope: projects:write
Brings a project back from the archive or the trash (organisation owners and admins). A trashed project is named by its id or key (the trash lists them).
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
projectstringRequiredThe project's key (WEB), an old key, or its id.
1 to 60 characters
The id comes from List projects.
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
idstring (uuid)RequiredkeystringRequirednamestringRequiredkindstringRequiredteam: a Team project with its own roles; organisation: an Organisation project on the organisation's schemes.
one of: team, organisation
statestringRequiredone of: active, archived
familystringRequiredone of: software, business
leadobject or nullRequiredShow 3 fields
idstring (uuid)RequirednamestringRequiredformerbooleanRequiredtrue when the lead has left the organisation.
categoryobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
can_administerbooleanRequiredWhether the token's person administers the project.
descriptionstringRequiredurlstring or nullRequirediconstringRequiredtemplatestringRequireddefault_assigneestringRequiredone of: lead, unassigned
featuresobjectRequiredWhat is switched on in the project.
Show 4 fields
sprintsbooleanRequiredestimationstringRequiredone of: off, story_points, time
standupsbooleanRequiredviewsarray of objectRequiredThe project's views (tabs): board, backlog, list, releases, …
Show 3 fields
kindstringRequirednamestringRequiredis_defaultbooleanRequired
docs_spaceobject or nullRequiredThe linked Docs space, when the token's person can open it.
Show 2 fields
keystringRequirednamestringRequired
my_rolesarray of stringRequiredmy_permissionsarray of stringRequiredcreated_atstring (date-time)RequiredUTC, with Z.
archived_atstring (date-time) or nullRequired
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.{ "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" } }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}/projects/{project}/restore" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/projects/{project}/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}/projects/{project}/restore",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"id": "1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
"key": "WEB",
"name": "Website",
"kind": "organisation",
"state": "active",
"family": "software",
"lead": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah",
"former": false
},
"category": {
"id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
"name": "Customer work"
},
"can_administer": true,
"description": "The public website.",
"url": "https://example.com",
"icon": "rocket",
"template": "scrum",
"default_assignee": "unassigned",
"features": {
"sprints": true,
"estimation": "story_points",
"standups": false,
"views": [
{
"kind": "board",
"name": "Board",
"is_default": true
},
{
"kind": "backlog",
"name": "Backlog",
"is_default": false
}
]
},
"docs_space": null,
"my_roles": [
"Administrator"
],
"my_permissions": [
"administer_project",
"browse_project",
"create_tasks"
],
"created_at": "2026-11-17T09:30:00.000Z",
"archived_at": null
}List the projects in the trash
/orgs/{org}/project-trashScope: projects:read
The organisation's trashed projects, newest first, with when each is deleted for good (organisation owners and admins; anyone else gets 404, as the trash page is hidden from them).
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
kindstringteam: a Team project with its own roles; organisation: an Organisation project on the organisation's schemes.
one of: team, organisation
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
itemsarray of TrashedProjectRequiredShow 7 fields
idstring (uuid)RequiredkeystringRequirednamestringRequiredkindstringRequiredteam: a Team project with its own roles; organisation: an Organisation project on the organisation's schemes.
one of: team, organisation
trashed_atstring (date-time)RequiredUTC, with Z.
trashed_byPersonRef or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
deleted_atstring (date-time)RequiredWhen it will be deleted for good.
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.{ "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}/project-trash" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/project-trash", {
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}/project-trash",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
"key": "BIN",
"name": "Retired intranet",
"kind": "team",
"trashed_at": "2026-11-22T10:00:00.000Z",
"trashed_by": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah"
},
"deleted_at": "2027-01-21T10:00:00.000Z"
}
],
"next_cursor": null
}List project categories
/orgs/{org}/project-categoriesScope: projects:read
The organisation's project categories, by name. Owners and admins also get each one's description and how many projects have it.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
itemsarray of ProjectCategoryRequiredShow 4 fields
idstring (uuid)RequirednamestringRequireddescriptionstringFor organisation owners and admins.
projectsintegerHow many projects (not in the trash) have it; owners and admins.
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.{ "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}/project-categories" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/project-categories", {
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}/project-categories",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
"name": "Customer work",
"description": "Projects for clients.",
"projects": 3
}
],
"next_cursor": null
}Create a project category
/orgs/{org}/project-categoriesScope: projects:write
Adds a project category (organisation owners and admins; anyone else gets 404, as the categories page is hidden from them).
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 60 characters
descriptionstringat most 500 characters
Answer
201 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
idstring (uuid)RequirednamestringRequireddescriptionstringFor organisation owners and admins.
projectsintegerHow many projects (not in the trash) have it; owners and admins.
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. 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.{ "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}/project-categories" \
-H "Authorization: Bearer $PROJQO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"description": "string"
}'const res = await fetch("https://projqo.example/api/v1/orgs/{org}/project-categories", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"name": "string",
"description": "string"
}),
});
console.log(res.status, await res.json());import os
import requests
res = requests.post(
"https://projqo.example/api/v1/orgs/{org}/project-categories",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
json={
"name": "string",
"description": "string",
},
)
print(res.status_code, res.json())Sample answer 201
{
"id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
"name": "Customer work",
"description": "Projects for clients.",
"projects": 3
}Get a project category
/orgs/{org}/project-categories/{category}Scope: projects:read
One project category.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
categorystring (uuid)RequiredThe id comes from List project categories.
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
idstring (uuid)RequirednamestringRequireddescriptionstringFor organisation owners and admins.
projectsintegerHow many projects (not in the trash) have it; owners and admins.
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.{ "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}/project-categories/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/project-categories/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}/project-categories/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
"name": "Customer work",
"description": "Projects for clients.",
"projects": 3
}Update a project category
/orgs/{org}/project-categories/{category}Scope: projects:write
Renames a project category or changes its description (organisation owners and admins).
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
categorystring (uuid)RequiredThe id comes from List project categories.
Body
namestringat most 60 characters
descriptionstringat most 500 characters
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
idstring (uuid)RequirednamestringRequireddescriptionstringFor organisation owners and admins.
projectsintegerHow many projects (not in the trash) have it; owners and admins.
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. 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.{ "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}/project-categories/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
-H "Authorization: Bearer $PROJQO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"description": "string"
}'const res = await fetch("https://projqo.example/api/v1/orgs/{org}/project-categories/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"
}),
});
console.log(res.status, await res.json());import os
import requests
res = requests.patch(
"https://projqo.example/api/v1/orgs/{org}/project-categories/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
json={
"name": "string",
"description": "string",
},
)
print(res.status_code, res.json())Sample answer 200
{
"id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
"name": "Customer work",
"description": "Projects for clients.",
"projects": 3
}Delete a project category
/orgs/{org}/project-categories/{category}Scope: projects:write
Deletes a project category (organisation owners and admins); its projects keep going without one.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
categorystring (uuid)RequiredThe id comes from List project categories.
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. 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}/project-categories/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/project-categories/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}/project-categories/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code)Sample answer 204
No body.