Docs / API objects
Tasks
List, create and change the tasks your team logs time under.
Tasks are shared by projects. New tasks join the standard list.
List tasks
GET
/ api/ v2/ tasksDiffers from Harvest
default_hourly_rate is 0. A member is refused (403).
Query parameters
| Name | Type | Description |
|---|---|---|
is_activebooleanOptional | boolean | true for active records only, false for archived only. Another value is ignored, as in Harvest. |
updated_sincedatetimeOptional | datetime | Only records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400. |
pageintegerOptional | integer | The page to return, from 1. Default 1. A page past the end returns no records. |
per_pageintegerOptional | integer | Records per page, 1 to 2000. Default 2000. Another value is refused with 400. |
Returns
Status 200 with a page of task objects under tasks, and the pagination fields.
curl "https://t.momentic.studio/api/v2/tasks" \
-H "Authorization: Bearer $TOKEN" \
-H "Harvest-Account-Id: $ACCOUNT_ID" \
-H "User-Agent: MyApp (admin@example.com)"const response = await fetch("https://t.momentic.studio/api/v2/tasks", {
headers: {
"Authorization": `Bearer ${process.env.TOKEN}`,
"Harvest-Account-Id": process.env.ACCOUNT_ID,
"User-Agent": "MyApp (admin@example.com)",
},
});
const data = await response.json();import os
import requests
response = requests.get(
"https://t.momentic.studio/api/v2/tasks",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
)
data = response.json(){
"tasks": [
{
"id": 4001,
"name": "Design",
"billable_by_default": true,
"default_hourly_rate": null,
"is_default": true,
"is_active": true,
"created_at": "2026-01-05T15:00:00Z",
"updated_at": "2026-01-05T15:00:00Z"
}
],
"per_page": 2000,
"total_pages": 1,
"total_entries": 1,
"next_page": null,
"previous_page": null,
"page": 1,
"links": {
"first": "https://t.momentic.studio/api/v2/tasks?page=1&per_page=2000&ref=first",
"next": null,
"previous": null,
"last": "https://t.momentic.studio/api/v2/tasks?page=1&per_page=2000&ref=last"
}
}curl "https://t.momentic.studio/api/v2/tasks/4001" \
-H "Authorization: Bearer $TOKEN" \
-H "Harvest-Account-Id: $ACCOUNT_ID" \
-H "User-Agent: MyApp (admin@example.com)"const response = await fetch("https://t.momentic.studio/api/v2/tasks/4001", {
headers: {
"Authorization": `Bearer ${process.env.TOKEN}`,
"Harvest-Account-Id": process.env.ACCOUNT_ID,
"User-Agent": "MyApp (admin@example.com)",
},
});
const data = await response.json();import os
import requests
response = requests.get(
"https://t.momentic.studio/api/v2/tasks/4001",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
)
data = response.json(){
"id": 4001,
"name": "Design",
"billable_by_default": true,
"default_hourly_rate": null,
"is_default": true,
"is_active": true,
"created_at": "2026-01-05T15:00:00Z",
"updated_at": "2026-01-05T15:00:00Z"
}Create a task
POST
/ api/ v2/ tasksDiffers from Harvest
default_hourly_rate is ignored.
Body, as JSON or form fields
| Name | Type | Description |
|---|---|---|
namestringRequired | string | The task's name. |
billable_by_defaultbooleanOptional | boolean | Default true. |
is_defaultbooleanOptional | boolean | true adds it to new projects. |
is_activebooleanOptional | boolean | false creates it archived. |
Returns
Status 201 with a task object.
curl -X POST "https://t.momentic.studio/api/v2/tasks" \
-H "Authorization: Bearer $TOKEN" \
-H "Harvest-Account-Id: $ACCOUNT_ID" \
-H "User-Agent: MyApp (admin@example.com)" \
-H "Content-Type: application/json" \
-d '{"name":"Example Client"}'const response = await fetch("https://t.momentic.studio/api/v2/tasks", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.TOKEN}`,
"Harvest-Account-Id": process.env.ACCOUNT_ID,
"User-Agent": "MyApp (admin@example.com)",
"Content-Type": "application/json",
},
body: JSON.stringify({
name: "Example Client",
}),
});
const data = await response.json();import os
import requests
response = requests.post(
"https://t.momentic.studio/api/v2/tasks",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
json={
"name": "Example Client",
},
)
data = response.json(){
"id": 4001,
"name": "Design",
"billable_by_default": true,
"default_hourly_rate": null,
"is_default": true,
"is_active": true,
"created_at": "2026-01-05T15:00:00Z",
"updated_at": "2026-01-05T15:00:00Z"
}Update a task
PATCH
/ api/ v2/ tasks/ {task_id}Differs from Harvest
Body, as JSON or form fields
| Name | Type | Description |
|---|---|---|
namestringOptional | string | The task's name. |
billable_by_defaultbooleanOptional | boolean | Whether new project time on it is billable. |
is_defaultbooleanOptional | boolean | true adds it to new projects. |
is_activebooleanOptional | boolean | false archives it; true restores it. |
Returns
Status 200 with a task object.
curl -X PATCH "https://t.momentic.studio/api/v2/tasks/4001" \
-H "Authorization: Bearer $TOKEN" \
-H "Harvest-Account-Id: $ACCOUNT_ID" \
-H "User-Agent: MyApp (admin@example.com)"const response = await fetch("https://t.momentic.studio/api/v2/tasks/4001", {
method: "PATCH",
headers: {
"Authorization": `Bearer ${process.env.TOKEN}`,
"Harvest-Account-Id": process.env.ACCOUNT_ID,
"User-Agent": "MyApp (admin@example.com)",
},
});
const data = await response.json();import os
import requests
response = requests.patch(
"https://t.momentic.studio/api/v2/tasks/4001",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
)
data = response.json(){
"id": 4001,
"name": "Design",
"billable_by_default": true,
"default_hourly_rate": null,
"is_default": true,
"is_active": true,
"created_at": "2026-01-05T15:00:00Z",
"updated_at": "2026-01-05T15:00:00Z"
}Delete a task
DELETE
/ api/ v2/ tasks/ {task_id}Not supported
Archive with is_active false. Deleting tasks is not offered by the app.
Returns
Status 200. No body.
curl -X DELETE "https://t.momentic.studio/api/v2/tasks/4001" \
-H "Authorization: Bearer $TOKEN" \
-H "Harvest-Account-Id: $ACCOUNT_ID" \
-H "User-Agent: MyApp (admin@example.com)"const response = await fetch("https://t.momentic.studio/api/v2/tasks/4001", {
method: "DELETE",
headers: {
"Authorization": `Bearer ${process.env.TOKEN}`,
"Harvest-Account-Id": process.env.ACCOUNT_ID,
"User-Agent": "MyApp (admin@example.com)",
},
});
console.log(response.status);import os
import requests
response = requests.delete(
"https://t.momentic.studio/api/v2/tasks/4001",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
)
print(response.status_code)The note above says what this endpoint returns.
The task object
| Field | Type | Description |
|---|---|---|
idinteger | integer | The task's id. |
namestring | string | The task's name. |
billable_by_defaultboolean | boolean | Whether time on the task is billable when a project adds it. |
default_hourly_ratenumber or null | number or null | Null: rates are set on people and projects, not tasks. The time tracker has no such data, so this is the empty value. |
is_defaultboolean | boolean | True when the task is on the standard list or is added to new projects. |
is_activeboolean | boolean | False when the task is archived. |
created_atdatetime | datetime | When the record was created. |
updated_atdatetime | datetime | When the record was last changed. |