Reference
Metadata
Fields (system and custom, by key), task types, statuses, workflows, priorities, resolutions and time tracking: what a project's tasks can hold, read only.
List fields
/orgs/{org}/fieldsScope: tasks:read
Every field of the organisation's tasks the token's person can see: projqo's own fields and custom ones, each with its key (cf_<key> for a custom field), name and type. Which fields a project's task types have, and their options, are in the project's fields calls.
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 FieldRequiredShow 8 fields
keystringRequiredThe field's key in task answers, create and update bodies and fields= (cf_<key> for a custom field). It never changes when the field is renamed.
idstring (uuid)RequirednamestringRequiredtypestringRequiredThe field's type. Its value's JSON shape is in the guide Field keys and custom fields.
one of: short_text, paragraph, paragraph_plain, date, datetime, number, select, multi_select, cascading_select, radio, checkboxes, user, multi_user, group, multi_group, project, url, labels, read_only_text, formula, custom_formula, rating, slider, yes_no, time_interval, reactions, message_view, message_edit, person_property, days_since_comment, last_commenter, last_public_comment, reporter_domain, assignee_domain, attachment_count, comment_count, time_in_status, first_response, task_type, status, priority, parent, resolution, security_level, sprint, version, versions, components, attachments, linked_tasks, time_tracking, duration, rank, team
custombooleanRequireddescriptionstringRequiredwritablebooleanRequiredWhether a create or an update sets it by key. Status, type, resolution and sprint change through their own calls; worked-out fields never. A read-only text field is set here (and by automation), never on screen.
projectProjectRef or nullRequiredA Team project's own field: its project. null: an organisation field.
Show 3 fields
idstring (uuid)RequiredkeystringRequirednamestringRequired
next_cursorstring or nullRequiredPass as cursor to read the next page; null on the last page.
totalintegerThe number of items in the whole list, with count=true.
Errors
400
invalidinvalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.{ "error": { "code": "invalid", "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.", "status": 400, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }401
invalid_tokeninvalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).{ "error": { "code": "invalid_token", "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).", "status": 401, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }403
insufficient_scopeinsufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation.{ "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}/fields" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/fields", {
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}/fields",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"key": "cf_customer_tier",
"id": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"name": "Customer tier",
"type": "select",
"custom": true,
"description": "The customer's support plan.",
"writable": true,
"project": null
}
],
"next_cursor": null
}List a project's task types
/orgs/{org}/projects/{project}/task-typesScope: tasks:read
The task types of the project's type scheme, in its order (Epic, Story, Task, Bug, Subtask and the organisation's own), each with its level, its workflow and whether the token's person may create tasks of it.
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
itemsarray of TaskTypeRequiredShow 8 fields
idstring (uuid)RequirednamestringRequirediconstringRequiredlevelintegerRequired-1 a subtask type, 0 a task, 1 an Epic.
descriptionstringRequireddefaultbooleanRequiredThe type a new task gets when none is given.
can_createbooleanRequiredWhether the token's person may create tasks of this type here now (Create tasks, the type's restriction, an active project; a subtask type needs subtasks switched on and a parent).
workflowobjectRequiredShow 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}/task-types" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/projects/{project}/task-types", {
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}/task-types",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
"name": "Bug",
"icon": "bug",
"level": 0,
"description": "A problem that stops something working.",
"default": false,
"can_create": true,
"workflow": {
"id": "5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b",
"name": "Software workflow"
}
}
],
"next_cursor": null
}List a project's fields
/orgs/{org}/projects/{project}/fieldsScope: tasks:read
Every field the project's tasks have, system and custom, each with its key and type and, per task type, whether it is required and on the create screen. A project with its own field scheme (or a Team project's own fields) answers its own. The options of a list field are in the type's fields call.
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
itemsarray of ProjectFieldRequiredShow 8 fields
keystringRequiredThe field's key in task answers, create and update bodies and fields= (cf_<key> for a custom field). It never changes when the field is renamed.
idstring (uuid)RequirednamestringRequiredtypestringRequiredThe field's type. Its value's JSON shape is in the guide Field keys and custom fields.
one of: short_text, paragraph, paragraph_plain, date, datetime, number, select, multi_select, cascading_select, radio, checkboxes, user, multi_user, group, multi_group, project, url, labels, read_only_text, formula, custom_formula, rating, slider, yes_no, time_interval, reactions, message_view, message_edit, person_property, days_since_comment, last_commenter, last_public_comment, reporter_domain, assignee_domain, attachment_count, comment_count, time_in_status, first_response, task_type, status, priority, parent, resolution, security_level, sprint, version, versions, components, attachments, linked_tasks, time_tracking, duration, rank, team
custombooleanRequireddescriptionstringRequiredwritablebooleanRequiredWhether a create or an update sets it by key. Status, type, resolution and sprint change through their own calls; worked-out fields never. A read-only text field is set here (and by automation), never on screen.
task_typesarray of objectRequiredThe project's task types that have the field, with whether each requires it.
Show 4 fields
idstring (uuid)RequirednamestringRequiredrequiredbooleanRequiredA task of this type can't be created or saved without it (the field scheme's required, or the type's layout in a Team project).
on_create_screenbooleanRequiredThe create screen for this type shows it.
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}/fields" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/projects/{project}/fields", {
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}/fields",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"key": "cf_customer_tier",
"id": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"name": "Customer tier",
"type": "select",
"custom": true,
"description": "The customer's support plan.",
"writable": true,
"task_types": [
{
"id": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
"name": "Bug",
"required": true,
"on_create_screen": true
}
]
}
],
"next_cursor": null
}List a task type's fields
/orgs/{org}/projects/{project}/task-types/{type}/fieldsScope: tasks:read
The fields a task of this type has in the project, in the order the project arranges them: each with its key, type, whether it is required and on the create screen, its default, and a list field's options in this project and type. Use the keys and option ids in POST /projects/{project}/tasks and PATCH /tasks/{task}.
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.
typestringRequiredThe task type's id or its name (Bug).
1 to 100 characters
The id comes from List a project's task types.
Answer
200 OK
Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset
Show the answer's fields
itemsarray of TaskTypeFieldRequiredShow 12 fields
keystringRequiredThe field's key in task answers, create and update bodies and fields= (cf_<key> for a custom field). It never changes when the field is renamed.
idstring (uuid)RequirednamestringRequiredtypestringRequiredThe field's type. Its value's JSON shape is in the guide Field keys and custom fields.
one of: short_text, paragraph, paragraph_plain, date, datetime, number, select, multi_select, cascading_select, radio, checkboxes, user, multi_user, group, multi_group, project, url, labels, read_only_text, formula, custom_formula, rating, slider, yes_no, time_interval, reactions, message_view, message_edit, person_property, days_since_comment, last_commenter, last_public_comment, reporter_domain, assignee_domain, attachment_count, comment_count, time_in_status, first_response, task_type, status, priority, parent, resolution, security_level, sprint, version, versions, components, attachments, linked_tasks, time_tracking, duration, rank, team
custombooleanRequireddescriptionstringRequiredwritablebooleanRequiredWhether a create or an update sets it by key. Status, type, resolution and sprint change through their own calls; worked-out fields never. A read-only text field is set here (and by automation), never on screen.
requiredbooleanRequiredon_create_screenbooleanRequireddefault_valueanyRequiredWhat a new task gets when the create leaves the field out (the field's context's default; the project's default priority); null for none.
optionsarray of object or nullRequiredA list field's options in this project and type (its context), in order; null for other types.
Show 4 fields
idstring (uuid)RequiredvaluestringRequiredparent_idstring (uuid) or nullRequiredA dependent dropdown's second-level option: its parent option.
disabledbooleanRequiredSwitched off: kept by tasks that hold it, not given to others.
configobjectRequiredA number, slider or rating field's limits.
Show 4 fields
minnumbermaxnumberstepnumberscalenumber
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}/task-types/{type}/fields" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/projects/{project}/task-types/{type}/fields", {
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}/task-types/{type}/fields",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"key": "cf_customer_tier",
"id": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"name": "Customer tier",
"type": "select",
"custom": true,
"description": "The customer's support plan.",
"writable": true,
"required": true,
"on_create_screen": true,
"default_value": null,
"options": [
{
"id": "3f2a9c1e-7b4d-4e8a-9c2f-1a2b3c4d5e6f",
"value": "Gold",
"parent_id": null,
"disabled": false
}
],
"config": {}
}
],
"next_cursor": null
}List statuses
/orgs/{org}/statusesScope: tasks:read
The statuses of the organisation's workflows and of the Team projects the token's person can open (as Advanced search offers them), each with its category (todo, in_progress, done) and colour.
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 StatusRequiredShow 7 fields
idstring (uuid)RequirednamestringRequiredcategorystringRequiredone of: todo, in_progress, done
colourstringRequiredThe category's colour, as projqo draws the status: to do grey, in progress blue, done green.
one of: grey, blue, green
iconstringRequireddescriptionstringRequiredprojectProjectRef or nullRequiredA Team project's own status: its project. null: the organisation's.
Show 3 fields
idstring (uuid)RequiredkeystringRequirednamestringRequired
next_cursorstring or nullRequiredPass as cursor to read the next page; null on the last page.
totalintegerThe number of items in the whole list, with count=true.
Errors
400
invalidinvalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.{ "error": { "code": "invalid", "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.", "status": 400, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }401
invalid_tokeninvalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).{ "error": { "code": "invalid_token", "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).", "status": 401, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }403
insufficient_scopeinsufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation.{ "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}/statuses" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/statuses", {
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}/statuses",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "3d4e5f6a-7b8c-4d9e-8f0a-2b3c4d5e6f7a",
"name": "In progress",
"category": "in_progress",
"colour": "blue",
"icon": "circle_half",
"description": "Someone is working on it.",
"project": null
}
],
"next_cursor": null
}List a project's statuses
/orgs/{org}/projects/{project}/statusesScope: tasks:read
The statuses the project's tasks can be in: those of its task types' workflows, in workflow order, each once.
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
itemsarray of StatusRequiredShow 7 fields
idstring (uuid)RequirednamestringRequiredcategorystringRequiredone of: todo, in_progress, done
colourstringRequiredThe category's colour, as projqo draws the status: to do grey, in progress blue, done green.
one of: grey, blue, green
iconstringRequireddescriptionstringRequiredprojectProjectRef or nullRequiredA Team project's own status: its project. null: the organisation's.
Show 3 fields
idstring (uuid)RequiredkeystringRequirednamestringRequired
next_cursorstring or nullRequiredPass as cursor to read the next page; null on the last page.
totalintegerThe number of items in the whole list, with count=true.
Errors
400
invalidinvalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.{ "error": { "code": "invalid", "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.", "status": 400, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }401
invalid_tokeninvalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).{ "error": { "code": "invalid_token", "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).", "status": 401, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }403
insufficient_scopeinsufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation.{ "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}/statuses" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/projects/{project}/statuses", {
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}/statuses",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "3d4e5f6a-7b8c-4d9e-8f0a-2b3c4d5e6f7a",
"name": "In progress",
"category": "in_progress",
"colour": "blue",
"icon": "circle_half",
"description": "Someone is working on it.",
"project": null
}
],
"next_cursor": null
}List a project's workflows
/orgs/{org}/projects/{project}/workflowsScope: tasks:read
The workflows the project's task types use, each with its statuses and transitions, as a task's View workflow shows them. Needs View workflow in the project (403 refused without it). The transitions a task may run now, after its rules, are in GET /tasks/{task}/transitions.
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
itemsarray of WorkflowRequiredShow 7 fields
idstring (uuid)RequirednamestringRequireddescriptionstringRequiredkindstringRequiredteam: a Team project's own workflow; organisation: shared through schemes.
one of: organisation, team
task_typesarray of objectRequiredThe project's task types that use it.
Show 2 fields
idstring (uuid)RequirednamestringRequired
statusesarray of objectRequiredShow 4 fields
idstring (uuid)RequirednamestringRequiredcategorystringRequiredone of: todo, in_progress, done
colourstringRequiredone of: grey, blue, green
transitionsarray of objectRequiredShow 7 fields
idstring (uuid)RequirednamestringRequiredtostring (uuid)RequiredThe status it moves a task to.
fromarray of string (uuid)RequiredThe statuses it starts from.
from_anybooleanRequiredIt starts from any status.
initialbooleanRequiredThe transition that creates a task.
screenbooleanRequiredIt asks for fields (its screen).
next_cursorstring or nullRequiredPass as cursor to read the next page; null on the last page.
totalintegerThe number of items in the whole list, with count=true.
Errors
400
invalidinvalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.{ "error": { "code": "invalid", "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.", "status": 400, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }401
invalid_tokeninvalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).{ "error": { "code": "invalid_token", "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).", "status": 401, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }403
insufficient_scopeinsufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why.{ "error": { "code": "insufficient_scope", "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).", "status": 403, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }404
not_foundnot_found: Nothing is at this address, or the token's person can't see it: the answer is the same.{ "error": { "code": "not_found", "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.", "status": 404, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }429
rate_limitedrate_limited: Too many calls in this minute, for the token or for the whole organisation.{ "error": { "code": "rate_limited", "message": "Too many calls in this minute, for the token or for the whole organisation.", "status": 429, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }500
internalinternal: Something went wrong on projqo's side (never your mistake).{ "error": { "code": "internal", "message": "Something went wrong on projqo's side (never your mistake).", "status": 500, "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b" } }
Request
curl -X GET "https://projqo.example/api/v1/orgs/{org}/projects/{project}/workflows" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/projects/{project}/workflows", {
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}/workflows",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b",
"name": "Software workflow",
"description": "",
"kind": "organisation",
"task_types": [
{
"id": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
"name": "Bug"
}
],
"statuses": [
{
"id": "3d4e5f6a-7b8c-4d9e-8f0a-2b3c4d5e6f7a",
"name": "In progress",
"category": "in_progress",
"colour": "blue"
}
],
"transitions": [
{
"id": "6f7a8b9c-0d1e-4f2a-9b3c-4d5e6f7a8b9c",
"name": "Start work",
"to": "3d4e5f6a-7b8c-4d9e-8f0a-2b3c4d5e6f7a",
"from": [],
"from_any": true,
"initial": false,
"screen": false
}
]
}
],
"next_cursor": null
}List priorities
/orgs/{org}/prioritiesScope: tasks:read
Every priority of the organisation, highest first. A project's tasks take the priorities of its scheme (the project's priorities call).
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 PriorityRequiredShow 4 fields
idstring (uuid)RequirednamestringRequirediconstringRequiredcolourstringRequired
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}/priorities" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/priorities", {
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}/priorities",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "4e5f6a7b-8c9d-4e0f-9a1b-3c4d5e6f7a8b",
"name": "High",
"icon": "arrow_up",
"colour": "#d04437"
}
],
"next_cursor": null
}List a project's priorities
/orgs/{org}/projects/{project}/prioritiesScope: tasks:read
The priorities the project's tasks may have (its priority scheme's), highest first, with the one a new task gets.
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
itemsarray of ProjectPriorityRequiredShow 5 fields
idstring (uuid)RequirednamestringRequirediconstringRequiredcolourstringRequireddefaultbooleanRequiredA new task in the project gets it.
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}/priorities" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/projects/{project}/priorities", {
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}/priorities",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "4e5f6a7b-8c9d-4e0f-9a1b-3c4d5e6f7a8b",
"name": "High",
"icon": "arrow_up",
"colour": "#d04437",
"default": false
}
],
"next_cursor": null
}List resolutions
/orgs/{org}/resolutionsScope: tasks:read
The organisation's resolutions, in its order. A task's resolution is set by the workflow when it is closed (a transition's screen or step), as in the app.
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 ResolutionRequiredShow 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}/resolutions" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/resolutions", {
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}/resolutions",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"items": [
{
"id": "7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d",
"name": "Done"
}
],
"next_cursor": null
}Get the time tracking settings
/orgs/{org}/time-trackingScope: worklogs:read
The organisation's time tracking: whether it is on (when off, new work logs are refused), the hours in a working day and the days in a working week (what a day and a week of an estimate mean), how times are shown and the unit a bare number means in the app. Work logs and estimates in the API are always seconds and minutes. Organisation admins change these in the app.
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
enabledbooleanRequiredhours_per_daynumberRequireddays_per_weeknumberRequiredformatstringRequiredone of: pretty, days, hours
unitstringRequiredone of: minute, hour, day, week
copy_commentbooleanRequiredA comment written while logging work is also kept as the work log's note.
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}/time-tracking" \
-H "Authorization: Bearer $PROJQO_TOKEN"const res = await fetch("https://projqo.example/api/v1/orgs/{org}/time-tracking", {
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}/time-tracking",
headers={"Authorization": f"Bearer {os.environ['PROJQO_TOKEN']}"},
)
print(res.status_code, res.json())Sample answer 200
{
"enabled": true,
"hours_per_day": 8,
"days_per_week": 5,
"format": "pretty",
"unit": "minute",
"copy_comment": true
}