Reference
Comments
A task's comments, as projqo's document JSON or Markdown.
List a task's comments
/orgs/{org}/tasks/{task}/commentsScope: tasks:read
The task's comments the token's person can see, oldest first (sort=-created for newest first), replies with their thread_id. A comment limited to a project role or a group is left out for people outside it, as in the app. Bodies come as projqo's document JSON, or as Markdown with body_format=markdown.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
taskstringRequiredA task's id, or its key (WEB-12).
1 to 60 characters
The id comes from List tasks.
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
sortstringcreated or -created.
at most 100 characters
updated_sincestring (date-time)Only items changed at or after this time (with Z or an offset).
body_formatstringHow rich text (descriptions, comments) comes back: document (projqo's document JSON, the default) or markdown.
one of: document, markdown
fieldsstringOnly these fields, comma-separated: id, task, thread_id, author, body, created_at, edited_at, edited_by, visibility, via, reactions, can. 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 CommentRequiredShow 12 fields
idstring (uuid)RequiredtaskTaskRefRequiredShow 3 fields
idstring (uuid)RequiredkeystringRequiredsummarystringRequired
thread_idstring (uuid)RequiredThe first comment of its thread (its own id for a thread's start); replies are one level deep.
authorPersonRef or nullRequirednull when the author's account is gone.
Show 2 fields
idstring (uuid)RequirednamestringRequired
bodyone of 2 shapesRequiredA document (projqo's document JSON), or Markdown with body_format=markdown.
Show the 2 shapes
Shape 1
string
Document
typestringRequiredalways doc
contentarray of any
created_atstring (date-time)RequiredUTC, with Z.
edited_atstring (date-time) or nullRequirededited_byPersonRef or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
visibilityobject or nullRequiredWho may see it, when limited to a project role or a group; null: everyone who can open the task.
Show 3 fields
kindstringRequiredone of: role, group
idstring (uuid)RequirednamestringRequired
viastringRequiredWritten in projqo, or a reply by email.
one of: app, email
reactionsarray of objectRequiredShow 3 fields
emojistringRequiredcountintegerRequiredminebooleanRequired
canobjectRequiredWhat the token's person may do with it now.
Show 3 fields
replybooleanRequirededitbooleanRequireddeletebooleanRequired
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}/tasks/{task}/comments" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/tasks/{task}/comments", {
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}/tasks/{task}/comments",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
"task": {
"id": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
"key": "WEB-12",
"summary": "Fix the sign-in page"
},
"thread_id": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
"author": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah"
},
"body": "Checked on the [@Sam Lee](https://projqo.example/o/acme/people/7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f) build: done.\n",
"created_at": "2026-12-01T10:15:00.000Z",
"edited_at": null,
"edited_by": null,
"visibility": null,
"via": "app",
"reactions": [
{
"emoji": "๐",
"count": 2,
"mine": false
}
],
"can": {
"reply": true,
"edit": true,
"delete": true
}
}
],
"next_cursor": null
}Add a comment
/orgs/{org}/tasks/{task}/commentsScope: tasks:write
Adds a comment to the task, or a reply with reply_to, as the token's person: it needs "Add comments" in the project, as in the app. The body is projqo's document JSON or Markdown; people mentioned (as mention nodes, or in Markdown as [@Name](<the person's address>)) are told when they can see the comment. Commenting watches the task while the person's auto-watch is on.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
taskstringRequiredA task's id, or its key (WEB-12).
1 to 60 characters
The id comes from List tasks.
Query parameters
body_formatstringHow rich text (descriptions, comments) comes back: document (projqo's document JSON, the default) or markdown.
one of: document, markdown
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
bodyone of 2 shapesRequiredA document (projqo's document JSON), or Markdown as a string.
Show the 2 shapes
Shape 1
string
Document
typestringRequiredalways doc
contentarray of any
reply_tostring (uuid)Reply to this comment (its thread); replies are one level deep.
The id comes from List a task's comments.
role_idstring (uuid)Organisation projects: limit the comment to a project role the person holds (not for replies: a reply keeps its thread's).
group_idstring (uuid)With the organisation's "Groups and roles" comment setting: limit it to a group the person is in.
Answer
201 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
idstring (uuid)RequiredtaskTaskRefRequiredShow 3 fields
idstring (uuid)RequiredkeystringRequiredsummarystringRequired
thread_idstring (uuid)RequiredThe first comment of its thread (its own id for a thread's start); replies are one level deep.
authorPersonRef or nullRequirednull when the author's account is gone.
Show 2 fields
idstring (uuid)RequirednamestringRequired
bodyone of 2 shapesRequiredA document (projqo's document JSON), or Markdown with body_format=markdown.
Show the 2 shapes
Shape 1
string
Document
typestringRequiredalways doc
contentarray of any
created_atstring (date-time)RequiredUTC, with Z.
edited_atstring (date-time) or nullRequirededited_byPersonRef or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
visibilityobject or nullRequiredWho may see it, when limited to a project role or a group; null: everyone who can open the task.
Show 3 fields
kindstringRequiredone of: role, group
idstring (uuid)RequirednamestringRequired
viastringRequiredWritten in projqo, or a reply by email.
one of: app, email
reactionsarray of objectRequiredShow 3 fields
emojistringRequiredcountintegerRequiredminebooleanRequired
canobjectRequiredWhat the token's person may do with it now.
Show 3 fields
replybooleanRequirededitbooleanRequireddeletebooleanRequired
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" } }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}/tasks/{task}/comments" \
-H "Authorization: Bearer $PROJQO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"body": "string",
"reply_to": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"role_id": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"group_id": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10"
}'const res = await fetch("https://projqo.example/api/v1/orgs/{org}/tasks/{task}/comments", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"body": "string",
"reply_to": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"role_id": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"group_id": "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}/tasks/{task}/comments",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
json={
"body": "string",
"reply_to": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"role_id": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"group_id": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
},
)
print(res.status_code, res.json())Sample answer 201
{
"id": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
"task": {
"id": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
"key": "WEB-12",
"summary": "Fix the sign-in page"
},
"thread_id": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
"author": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah"
},
"body": "Checked on the [@Sam Lee](https://projqo.example/o/acme/people/7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f) build: done.\n",
"created_at": "2026-12-01T10:15:00.000Z",
"edited_at": null,
"edited_by": null,
"visibility": null,
"via": "app",
"reactions": [
{
"emoji": "๐",
"count": 2,
"mine": false
}
],
"can": {
"reply": true,
"edit": true,
"delete": true
}
}Get a comment
/orgs/{org}/tasks/{task}/comments/{comment}Scope: tasks:read
One comment of the task. A comment the person can't see (limited to a role or group they're outside) answers 404, as a missing one.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
taskstringRequiredA task's id, or its key (WEB-12).
1 to 60 characters
The id comes from List tasks.
commentstring (uuid)RequiredThe comment's id.
The id comes from List a task's comments.
Query parameters
body_formatstringHow rich text (descriptions, comments) comes back: document (projqo's document JSON, the default) or markdown.
one of: document, markdown
fieldsstringOnly these fields, comma-separated: id, task, thread_id, author, body, created_at, edited_at, edited_by, visibility, via, reactions, can. 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)RequiredtaskTaskRefRequiredShow 3 fields
idstring (uuid)RequiredkeystringRequiredsummarystringRequired
thread_idstring (uuid)RequiredThe first comment of its thread (its own id for a thread's start); replies are one level deep.
authorPersonRef or nullRequirednull when the author's account is gone.
Show 2 fields
idstring (uuid)RequirednamestringRequired
bodyone of 2 shapesRequiredA document (projqo's document JSON), or Markdown with body_format=markdown.
Show the 2 shapes
Shape 1
string
Document
typestringRequiredalways doc
contentarray of any
created_atstring (date-time)RequiredUTC, with Z.
edited_atstring (date-time) or nullRequirededited_byPersonRef or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
visibilityobject or nullRequiredWho may see it, when limited to a project role or a group; null: everyone who can open the task.
Show 3 fields
kindstringRequiredone of: role, group
idstring (uuid)RequirednamestringRequired
viastringRequiredWritten in projqo, or a reply by email.
one of: app, email
reactionsarray of objectRequiredShow 3 fields
emojistringRequiredcountintegerRequiredminebooleanRequired
canobjectRequiredWhat the token's person may do with it now.
Show 3 fields
replybooleanRequirededitbooleanRequireddeletebooleanRequired
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}/tasks/{task}/comments/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/tasks/{task}/comments/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}/tasks/{task}/comments/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"id": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
"task": {
"id": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
"key": "WEB-12",
"summary": "Fix the sign-in page"
},
"thread_id": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
"author": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah"
},
"body": "Checked on the [@Sam Lee](https://projqo.example/o/acme/people/7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f) build: done.\n",
"created_at": "2026-12-01T10:15:00.000Z",
"edited_at": null,
"edited_by": null,
"visibility": null,
"via": "app",
"reactions": [
{
"emoji": "๐",
"count": 2,
"mine": false
}
],
"can": {
"reply": true,
"edit": true,
"delete": true
}
}Edit a comment
/orgs/{org}/tasks/{task}/comments/{comment}Scope: tasks:write
Changes the comment's body: your own with "Edit own comments", anyone's with "Edit all comments", as in the app. Newly mentioned people are told.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
taskstringRequiredA task's id, or its key (WEB-12).
1 to 60 characters
The id comes from List tasks.
commentstring (uuid)RequiredThe comment's id.
The id comes from List a task's comments.
Query parameters
body_formatstringHow rich text (descriptions, comments) comes back: document (projqo's document JSON, the default) or markdown.
one of: document, markdown
Body
bodyone of 2 shapesRequiredA document (projqo's document JSON), or Markdown as a string.
Show the 2 shapes
Shape 1
string
Document
typestringRequiredalways doc
contentarray of any
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
idstring (uuid)RequiredtaskTaskRefRequiredShow 3 fields
idstring (uuid)RequiredkeystringRequiredsummarystringRequired
thread_idstring (uuid)RequiredThe first comment of its thread (its own id for a thread's start); replies are one level deep.
authorPersonRef or nullRequirednull when the author's account is gone.
Show 2 fields
idstring (uuid)RequirednamestringRequired
bodyone of 2 shapesRequiredA document (projqo's document JSON), or Markdown with body_format=markdown.
Show the 2 shapes
Shape 1
string
Document
typestringRequiredalways doc
contentarray of any
created_atstring (date-time)RequiredUTC, with Z.
edited_atstring (date-time) or nullRequirededited_byPersonRef or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
visibilityobject or nullRequiredWho may see it, when limited to a project role or a group; null: everyone who can open the task.
Show 3 fields
kindstringRequiredone of: role, group
idstring (uuid)RequirednamestringRequired
viastringRequiredWritten in projqo, or a reply by email.
one of: app, email
reactionsarray of objectRequiredShow 3 fields
emojistringRequiredcountintegerRequiredminebooleanRequired
canobjectRequiredWhat the token's person may do with it now.
Show 3 fields
replybooleanRequirededitbooleanRequireddeletebooleanRequired
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 PATCH "https://projqo.example/api/v1/orgs/{org}/tasks/{task}/comments/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
-H "Authorization: Bearer $PROJQO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"body": "string"
}'const res = await fetch("https://projqo.example/api/v1/orgs/{org}/tasks/{task}/comments/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10", {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"body": "string"
}),
});
console.log(res.status, await res.json());import os
import requests
res = requests.patch(
"https://projqo.example/api/v1/orgs/{org}/tasks/{task}/comments/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
json={
"body": "string",
},
)
print(res.status_code, res.json())Sample answer 200
{
"id": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
"task": {
"id": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
"key": "WEB-12",
"summary": "Fix the sign-in page"
},
"thread_id": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
"author": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah"
},
"body": "Checked on the [@Sam Lee](https://projqo.example/o/acme/people/7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f) build: done.\n",
"created_at": "2026-12-01T10:15:00.000Z",
"edited_at": null,
"edited_by": null,
"visibility": null,
"via": "app",
"reactions": [
{
"emoji": "๐",
"count": 2,
"mine": false
}
],
"can": {
"reply": true,
"edit": true,
"delete": true
}
}Delete a comment
/orgs/{org}/tasks/{task}/comments/{comment}Scope: tasks:write
Deletes the comment (a thread's first comment goes with its replies): your own with "Delete own comments", anyone's with "Delete all comments", as in the app.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
taskstringRequiredA task's id, or its key (WEB-12).
1 to 60 characters
The id comes from List tasks.
commentstring (uuid)RequiredThe comment's id.
The id comes from List a task's comments.
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}/tasks/{task}/comments/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/tasks/{task}/comments/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}/tasks/{task}/comments/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code)Sample answer 204
No body.