Reference
Work logs
Work logged on tasks: log, change, delete, bulk log; lists per task, project and organisation.
List work logs across the organisation
/orgs/{org}/worklogsScope: worklogs:read
Work logged on every task you can open. Newest first by when the work started, cursor paged. Only work on tasks you can open, and a group-limited log only if you're in its group. Filter by person, start time and updated_since (to keep a copy in step).
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
sortstringOne of started, -started (the default: newest first), updated, -updated; ties by id.
at most 40 characters
personstringOnly work logged by this person (me, an id or an email).
1 to 320 characters
started_sincestring (date-time)Only work started at or after this time.
started_beforestring (date-time)Only work started before this time.
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, author, started_at, seconds, description, visibility_group, created_at, updated_at, edited_by. 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 WorklogRequiredShow 10 fields
idstring (uuid)RequiredtaskobjectRequiredThe task the work was logged on.
Show 3 fields
idstring (uuid)RequiredkeystringRequiredsummarystringRequired
authorobject or nullRequiredWho logged it; null when gone.
Show 2 fields
idstring (uuid)RequirednamestringRequired
started_atstring (date-time)RequiredWhen the work started (UTC).
secondsintegerRequiredTime spent, in seconds.
descriptionone of 2 shapes or nullRequiredShow the 2 shapes
Shape 1
string
Document
typestringRequiredalways doc
contentarray of any
visibility_groupobject or nullRequiredWhen set, only this group's members (and admins) see the log.
Show 1 field
idstring (uuid)Required
created_atstring (date-time)RequiredUTC, with Z.
updated_atstring (date-time)RequiredThe last edit, or created_at.
edited_byobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
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}/worklogs" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/worklogs", {
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}/worklogs",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
"task": {
"id": "3d4e5f6a-7b8c-4d9e-8f0a-1b2c3d4e5f6a",
"key": "WEB-14",
"summary": "Publish the pricing page"
},
"author": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah"
},
"started_at": "2026-12-01T04:30:00.000Z",
"seconds": 5400,
"description": "Wrote the copy and checked it with sales.\n",
"visibility_group": null,
"created_at": "2026-12-01T06:05:00.000Z",
"updated_at": "2026-12-01T06:05:00.000Z",
"edited_by": null
}
],
"next_cursor": null
}List work logs in a project
/orgs/{org}/projects/{project}/worklogsScope: worklogs:read
Work logged on the project's tasks. Newest first by when the work started, cursor paged. Only work on tasks you can open, and a group-limited log only if you're in its group. Filter by person, start time and updated_since (to keep a copy in step).
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
projectstringRequiredThe project's id or key.
1 to 60 characters
The id comes from List projects.
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
sortstringOne of started, -started (the default: newest first), updated, -updated; ties by id.
at most 40 characters
personstringOnly work logged by this person (me, an id or an email).
1 to 320 characters
started_sincestring (date-time)Only work started at or after this time.
started_beforestring (date-time)Only work started before this time.
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, author, started_at, seconds, description, visibility_group, created_at, updated_at, edited_by. 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 WorklogRequiredShow 10 fields
idstring (uuid)RequiredtaskobjectRequiredThe task the work was logged on.
Show 3 fields
idstring (uuid)RequiredkeystringRequiredsummarystringRequired
authorobject or nullRequiredWho logged it; null when gone.
Show 2 fields
idstring (uuid)RequirednamestringRequired
started_atstring (date-time)RequiredWhen the work started (UTC).
secondsintegerRequiredTime spent, in seconds.
descriptionone of 2 shapes or nullRequiredShow the 2 shapes
Shape 1
string
Document
typestringRequiredalways doc
contentarray of any
visibility_groupobject or nullRequiredWhen set, only this group's members (and admins) see the log.
Show 1 field
idstring (uuid)Required
created_atstring (date-time)RequiredUTC, with Z.
updated_atstring (date-time)RequiredThe last edit, or created_at.
edited_byobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
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/{project}/worklogs" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/projects/{project}/worklogs", {
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}/worklogs",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
"task": {
"id": "3d4e5f6a-7b8c-4d9e-8f0a-1b2c3d4e5f6a",
"key": "WEB-14",
"summary": "Publish the pricing page"
},
"author": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah"
},
"started_at": "2026-12-01T04:30:00.000Z",
"seconds": 5400,
"description": "Wrote the copy and checked it with sales.\n",
"visibility_group": null,
"created_at": "2026-12-01T06:05:00.000Z",
"updated_at": "2026-12-01T06:05:00.000Z",
"edited_by": null
}
],
"next_cursor": null
}List a task's work logs
/orgs/{org}/tasks/{task}/worklogsScope: worklogs:read
Work logged on the task. Newest first by when the work started, cursor paged. Only work on tasks you can open, and a group-limited log only if you're in its group. Filter by person, start time and updated_since (to keep a copy in step).
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
taskstringRequiredThe task's id or 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
sortstringOne of started, -started (the default: newest first), updated, -updated; ties by id.
at most 40 characters
personstringOnly work logged by this person (me, an id or an email).
1 to 320 characters
started_sincestring (date-time)Only work started at or after this time.
started_beforestring (date-time)Only work started before this time.
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, author, started_at, seconds, description, visibility_group, created_at, updated_at, edited_by. 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 WorklogRequiredShow 10 fields
idstring (uuid)RequiredtaskobjectRequiredThe task the work was logged on.
Show 3 fields
idstring (uuid)RequiredkeystringRequiredsummarystringRequired
authorobject or nullRequiredWho logged it; null when gone.
Show 2 fields
idstring (uuid)RequirednamestringRequired
started_atstring (date-time)RequiredWhen the work started (UTC).
secondsintegerRequiredTime spent, in seconds.
descriptionone of 2 shapes or nullRequiredShow the 2 shapes
Shape 1
string
Document
typestringRequiredalways doc
contentarray of any
visibility_groupobject or nullRequiredWhen set, only this group's members (and admins) see the log.
Show 1 field
idstring (uuid)Required
created_atstring (date-time)RequiredUTC, with Z.
updated_atstring (date-time)RequiredThe last edit, or created_at.
edited_byobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
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}/worklogs" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/tasks/{task}/worklogs", {
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}/worklogs",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
"task": {
"id": "3d4e5f6a-7b8c-4d9e-8f0a-1b2c3d4e5f6a",
"key": "WEB-14",
"summary": "Publish the pricing page"
},
"author": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah"
},
"started_at": "2026-12-01T04:30:00.000Z",
"seconds": 5400,
"description": "Wrote the copy and checked it with sales.\n",
"visibility_group": null,
"created_at": "2026-12-01T06:05:00.000Z",
"updated_at": "2026-12-01T06:05:00.000Z",
"edited_by": null
}
],
"next_cursor": null
}Log work on a task
/orgs/{org}/tasks/{task}/worklogsScope: worklogs:write
Logs time on the task, as Log work in the app: needs Log work, the task not archived and time tracking switched on. The task's time remaining moves (or takes remaining_seconds), History records it and watchers are told.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
taskstringRequiredThe task's id or 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
secondsintegerRequiredTime spent, in seconds (1 to 31536000).
from 1 to 31536000
started_atstring (date-time)When the work started (with Z or an offset); now when left out. Not in the future.
remaining_secondsinteger or nullThe task's time remaining afterwards, in seconds. Left out: worked out as the app does (the remaining, or the estimate, less the time logged).
descriptionone of 2 shapesA document (projqo's document JSON), or Markdown as a string.
Show the 2 shapes
Shape 1
string
Document
typestringRequiredalways doc
contentarray of any
visibility_groupstring (uuid) or nullLimit who sees the log to a group you're in (when the organisation's comment visibility is Groups and roles).
Answer
201 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
idstring (uuid)RequiredtaskobjectRequiredThe task the work was logged on.
Show 3 fields
idstring (uuid)RequiredkeystringRequiredsummarystringRequired
authorobject or nullRequiredWho logged it; null when gone.
Show 2 fields
idstring (uuid)RequirednamestringRequired
started_atstring (date-time)RequiredWhen the work started (UTC).
secondsintegerRequiredTime spent, in seconds.
descriptionone of 2 shapes or nullRequiredShow the 2 shapes
Shape 1
string
Document
typestringRequiredalways doc
contentarray of any
visibility_groupobject or nullRequiredWhen set, only this group's members (and admins) see the log.
Show 1 field
idstring (uuid)Required
created_atstring (date-time)RequiredUTC, with Z.
updated_atstring (date-time)RequiredThe last edit, or created_at.
edited_byobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
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. conflict: The thing changed since it was read, or the change clashes with its state.{ "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}/worklogs" \
-H "Authorization: Bearer $PROJQO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"seconds": 1,
"started_at": "2026-12-01T09:30:00Z",
"remaining_seconds": 0,
"description": "string",
"visibility_group": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10"
}'const res = await fetch("https://projqo.example/api/v1/orgs/{org}/tasks/{task}/worklogs", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"seconds": 1,
"started_at": "2026-12-01T09:30:00Z",
"remaining_seconds": 0,
"description": "string",
"visibility_group": "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}/worklogs",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
json={
"seconds": 1,
"started_at": "2026-12-01T09:30:00Z",
"remaining_seconds": 0,
"description": "string",
"visibility_group": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
},
)
print(res.status_code, res.json())Sample answer 201
{
"id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
"task": {
"id": "3d4e5f6a-7b8c-4d9e-8f0a-1b2c3d4e5f6a",
"key": "WEB-14",
"summary": "Publish the pricing page"
},
"author": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah"
},
"started_at": "2026-12-01T04:30:00.000Z",
"seconds": 5400,
"description": "Wrote the copy and checked it with sales.\n",
"visibility_group": null,
"created_at": "2026-12-01T06:05:00.000Z",
"updated_at": "2026-12-01T06:05:00.000Z",
"edited_by": null
}Get a work log
/orgs/{org}/worklogs/{worklog}Scope: worklogs:read
One work log, if you can open its task (and are among its readers).
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
worklogstring (uuid)RequiredThe id comes from List work logs across the organisation.
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, author, started_at, seconds, description, visibility_group, created_at, updated_at, edited_by. 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)RequiredtaskobjectRequiredThe task the work was logged on.
Show 3 fields
idstring (uuid)RequiredkeystringRequiredsummarystringRequired
authorobject or nullRequiredWho logged it; null when gone.
Show 2 fields
idstring (uuid)RequirednamestringRequired
started_atstring (date-time)RequiredWhen the work started (UTC).
secondsintegerRequiredTime spent, in seconds.
descriptionone of 2 shapes or nullRequiredShow the 2 shapes
Shape 1
string
Document
typestringRequiredalways doc
contentarray of any
visibility_groupobject or nullRequiredWhen set, only this group's members (and admins) see the log.
Show 1 field
idstring (uuid)Required
created_atstring (date-time)RequiredUTC, with Z.
updated_atstring (date-time)RequiredThe last edit, or created_at.
edited_byobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
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}/worklogs/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/worklogs/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}/worklogs/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",
"task": {
"id": "3d4e5f6a-7b8c-4d9e-8f0a-1b2c3d4e5f6a",
"key": "WEB-14",
"summary": "Publish the pricing page"
},
"author": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah"
},
"started_at": "2026-12-01T04:30:00.000Z",
"seconds": 5400,
"description": "Wrote the copy and checked it with sales.\n",
"visibility_group": null,
"created_at": "2026-12-01T06:05:00.000Z",
"updated_at": "2026-12-01T06:05:00.000Z",
"edited_by": null
}Change a work log
/orgs/{org}/worklogs/{worklog}Scope: worklogs:write
Changes the time, start or description, as editing in the app: needs Edit own work logs (yours) or Edit all work logs. The task's time remaining moves by the difference unless remaining_seconds is given.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
worklogstring (uuid)RequiredThe id comes from List work logs across the organisation.
Query parameters
body_formatstringHow rich text (descriptions, comments) comes back: document (projqo's document JSON, the default) or markdown.
one of: document, markdown
Body
secondsintegerTime spent, in seconds (1 to 31536000).
from 1 to 31536000
started_atstring (date-time)When the work started (with Z or an offset); now when left out. Not in the future.
remaining_secondsinteger or nullThe task's time remaining afterwards, in seconds. Left out: worked out as the app does (the remaining, or the estimate, less the time logged).
descriptionone of 2 shapes or nullShow 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)RequiredtaskobjectRequiredThe task the work was logged on.
Show 3 fields
idstring (uuid)RequiredkeystringRequiredsummarystringRequired
authorobject or nullRequiredWho logged it; null when gone.
Show 2 fields
idstring (uuid)RequirednamestringRequired
started_atstring (date-time)RequiredWhen the work started (UTC).
secondsintegerRequiredTime spent, in seconds.
descriptionone of 2 shapes or nullRequiredShow the 2 shapes
Shape 1
string
Document
typestringRequiredalways doc
contentarray of any
visibility_groupobject or nullRequiredWhen set, only this group's members (and admins) see the log.
Show 1 field
idstring (uuid)Required
created_atstring (date-time)RequiredUTC, with Z.
updated_atstring (date-time)RequiredThe last edit, or created_at.
edited_byobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
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}/worklogs/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
-H "Authorization: Bearer $PROJQO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"seconds": 1,
"started_at": "2026-12-01T09:30:00Z",
"remaining_seconds": 0,
"description": "string"
}'const res = await fetch("https://projqo.example/api/v1/orgs/{org}/worklogs/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10", {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"seconds": 1,
"started_at": "2026-12-01T09:30:00Z",
"remaining_seconds": 0,
"description": "string"
}),
});
console.log(res.status, await res.json());import os
import requests
res = requests.patch(
"https://projqo.example/api/v1/orgs/{org}/worklogs/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
json={
"seconds": 1,
"started_at": "2026-12-01T09:30:00Z",
"remaining_seconds": 0,
"description": "string",
},
)
print(res.status_code, res.json())Sample answer 200
{
"id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
"task": {
"id": "3d4e5f6a-7b8c-4d9e-8f0a-1b2c3d4e5f6a",
"key": "WEB-14",
"summary": "Publish the pricing page"
},
"author": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah"
},
"started_at": "2026-12-01T04:30:00.000Z",
"seconds": 5400,
"description": "Wrote the copy and checked it with sales.\n",
"visibility_group": null,
"created_at": "2026-12-01T06:05:00.000Z",
"updated_at": "2026-12-01T06:05:00.000Z",
"edited_by": null
}Delete a work log
/orgs/{org}/worklogs/{worklog}Scope: worklogs:write
Deletes the work log, as in the app: needs Delete own work logs (yours) or Delete all work logs. The deleted time goes back onto the task's time remaining; adjust_remaining=leave keeps it, remaining_seconds sets it.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
worklogstring (uuid)RequiredThe id comes from List work logs across the organisation.
Query parameters
adjust_remainingstringauto (the default) adds the deleted time back; leave keeps it.
one of: auto, leave
remaining_secondsintegerSet the task's time remaining to this, in seconds.
from 0 to 315360000
Answer
204 Deleted.
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}/worklogs/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/worklogs/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}/worklogs/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code)Sample answer 204
No body.
Log work on many tasks
/orgs/{org}/worklogs/bulkScope: worklogs:write
Logs up to 100 entries, each on its task (by id or key) as Log work does. Each item is done or refused on its own (207, one result per item in order); the call counts one call per 10 items.
Path parameters
orgstringRequiredThe organisation's id (or its address name).
1 to 100 characters
The id comes from List organisations.
Query parameters
body_formatstringHow rich text (descriptions, comments) comes back: document (projqo's document JSON, the default) or markdown.
one of: document, markdown
Body
itemsarray of objectRequired1 to 100 items.
1 to 100 items
Show 6 fields
secondsintegerRequiredTime spent, in seconds (1 to 31536000).
from 1 to 31536000
started_atstring (date-time)When the work started (with Z or an offset); now when left out. Not in the future.
remaining_secondsinteger or nullThe task's time remaining afterwards, in seconds. Left out: worked out as the app does (the remaining, or the estimate, less the time logged).
descriptionone of 2 shapesA document (projqo's document JSON), or Markdown as a string.
Show the 2 shapes
Shape 1
string
Document
typestringRequiredalways doc
contentarray of any
visibility_groupstring (uuid) or nullLimit who sees the log to a group you're in (when the organisation's comment visibility is Groups and roles).
taskstringRequired1 to 60 characters
Answer
207 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
resultsarray of objectRequiredShow 4 fields
indexintegerRequiredThe item's place in the request, from 0.
statusintegerRequiredThe status this item alone would have had.
itemWorklogShow 10 fields
idstring (uuid)RequiredtaskobjectRequiredThe task the work was logged on.
Show 3 fields
idstring (uuid)RequiredkeystringRequiredsummarystringRequired
authorobject or nullRequiredWho logged it; null when gone.
Show 2 fields
idstring (uuid)RequirednamestringRequired
started_atstring (date-time)RequiredWhen the work started (UTC).
secondsintegerRequiredTime spent, in seconds.
descriptionone of 2 shapes or nullRequiredShow the 2 shapes
Shape 1
string
Document
typestringRequiredalways doc
contentarray of any
visibility_groupobject or nullRequiredWhen set, only this group's members (and admins) see the log.
Show 1 field
idstring (uuid)Required
created_atstring (date-time)RequiredUTC, with Z.
updated_atstring (date-time)RequiredThe last edit, or created_at.
edited_byobject or nullRequiredShow 2 fields
idstring (uuid)RequirednamestringRequired
errorobjectShow 5 fields
codestringRequiredWhat went wrong; the errors guide lists each code's cause and fix.
one of: invalid, field_required, invalid_token, not_in_plan, insufficient_scope, refused, api_off, read_only, suspended, not_found, method_not_allowed, conflict, archived, transition_not_allowed, limit_reached, too_large, unsupported_media_type, idempotency_key_reused, rate_limited, internal
messagestringRequiredIn plain words, for a person to read.
statusintegerRequiredrequest_idstringRequiredAlso in the X-Request-Id header; quote it to support.
detailsarray of ErrorDetailShow 3 fields
fieldstringRequiredThe parameter or body field, as a dotted path.
codestringRequiredone of: required, invalid_value, too_long, too_short, too_big, too_small, unknown_parameter, invalid_cursor
messagestringRequired
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" } }413
too_largetoo_large: The body or a file is larger than allowed.{ "error": { "code": "too_large", "message": "The body or a file is larger than allowed.", "status": 413, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }415
unsupported_media_typeunsupported_media_type: The body isn't JSON.{ "error": { "code": "unsupported_media_type", "message": "The body isn't JSON.", "status": 415, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }429
rate_limitedrate_limited: Too many calls in this minute, for the token or for the whole organisation.{ "error": { "code": "rate_limited", "message": "Too many calls in this minute, for the token or for the whole organisation.", "status": 429, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }500
internalinternal: Something went wrong on projqo's side (never your mistake).{ "error": { "code": "internal", "message": "Something went wrong on projqo's side (never your mistake).", "status": 500, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }
Request
curl -X POST "https://projqo.example/api/v1/orgs/{org}/worklogs/bulk" \
-H "Authorization: Bearer $PROJQO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"items": [
{
"seconds": 1,
"started_at": "2026-12-01T09:30:00Z",
"remaining_seconds": 0,
"description": "string",
"visibility_group": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"task": "string"
}
]
}'const res = await fetch("https://projqo.example/api/v1/orgs/{org}/worklogs/bulk", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PROJQO_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"items": [
{
"seconds": 1,
"started_at": "2026-12-01T09:30:00Z",
"remaining_seconds": 0,
"description": "string",
"visibility_group": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"task": "string"
}
]
}),
});
console.log(res.status, await res.json());import os
import requests
res = requests.post(
"https://projqo.example/api/v1/orgs/{org}/worklogs/bulk",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
json={
"items": [
{
"seconds": 1,
"started_at": "2026-12-01T09:30:00Z",
"remaining_seconds": 0,
"description": "string",
"visibility_group": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
"task": "string",
},
],
},
)
print(res.status_code, res.json())Sample answer 207
{
"results": [
{
"index": 0,
"status": 201,
"item": {
"id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
"task": {
"id": "3d4e5f6a-7b8c-4d9e-8f0a-1b2c3d4e5f6a",
"key": "WEB-14",
"summary": "Publish the pricing page"
},
"author": {
"id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
"name": "Priya Shah"
},
"started_at": "2026-12-01T04:30:00.000Z",
"seconds": 5400,
"description": "Wrote the copy and checked it with sales.\n",
"visibility_group": null,
"created_at": "2026-12-01T06:05:00.000Z",
"updated_at": "2026-12-01T06:05:00.000Z",
"edited_by": null
}
}
]
}