Docs / API objects
User assignments
Put people on projects, choose who manages each project, and set each person's rate there.
A user assignment puts a person on a project. A person on a project through a team is listed as well.
List user assignments
/ api/ v2/ user_assignmentsDiffers from Harvest
budget is null. A member is refused (403).
Query parameters
| Name | Type | Description |
|---|---|---|
user_idintegerOptional | integer | Only this person's assignments. |
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 user assignment objects under user_assignments, and the pagination fields.
curl "https://t.momentic.studio/api/v2/user_assignments" \
-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/user_assignments", {
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/user_assignments",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
)
data = response.json(){
"user_assignments": [
{
"id": 6001,
"project": {
"id": 3001,
"name": "Website Refresh",
"code": null
},
"user": {
"id": 1001,
"name": "Alex Example"
},
"is_active": true,
"is_project_manager": false,
"use_default_rates": true,
"hourly_rate": 150,
"budget": null,
"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/user_assignments?page=1&per_page=2000&ref=first",
"next": null,
"previous": null,
"last": "https://t.momentic.studio/api/v2/user_assignments?page=1&per_page=2000&ref=last"
}
}List a project's user assignments
/ api/ v2/ projects/ {project_id}/ user_assignmentsDiffers from Harvest
Query parameters
| Name | Type | Description |
|---|---|---|
user_idintegerOptional | integer | Only this person's assignment. |
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 user assignment objects under user_assignments, and the pagination fields.
curl "https://t.momentic.studio/api/v2/projects/3001/user_assignments" \
-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/projects/3001/user_assignments", {
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/projects/3001/user_assignments",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
)
data = response.json(){
"user_assignments": [
{
"id": 6001,
"project": {
"id": 3001,
"name": "Website Refresh",
"code": null
},
"user": {
"id": 1001,
"name": "Alex Example"
},
"is_active": true,
"is_project_manager": false,
"use_default_rates": true,
"hourly_rate": 150,
"budget": null,
"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/projects/3001/user_assignments?page=1&per_page=2000&ref=first",
"next": null,
"previous": null,
"last": "https://t.momentic.studio/api/v2/projects/3001/user_assignments?page=1&per_page=2000&ref=last"
}
}Retrieve a user assignment
/ api/ v2/ projects/ {project_id}/ user_assignments/ {user_assignment_id}Differs from Harvest
Returns
Status 200 with a user assignment object.
curl "https://t.momentic.studio/api/v2/projects/3001/user_assignments/6001" \
-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/projects/3001/user_assignments/6001", {
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/projects/3001/user_assignments/6001",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
)
data = response.json(){
"id": 6001,
"project": {
"id": 3001,
"name": "Website Refresh",
"code": null
},
"user": {
"id": 1001,
"name": "Alex Example"
},
"is_active": true,
"is_project_manager": false,
"use_default_rates": true,
"hourly_rate": 150,
"budget": null,
"created_at": "2026-01-05T15:00:00Z",
"updated_at": "2026-01-05T15:00:00Z"
}Assign a person to a project
/ api/ v2/ projects/ {project_id}/ user_assignmentsDiffers from Harvest
is_project_manager needs an owner or admin token, as in the app. hourly_rate is the person's rate on the project when use_default_rates is false. budget is ignored.
Body, as JSON or form fields
| Name | Type | Description |
|---|---|---|
user_idintegerRequired | integer | The person. |
is_project_managerbooleanOptional | boolean | true makes them a manager of the project. |
use_default_ratesbooleanOptional | boolean | false to use hourly_rate on this project. |
hourly_ratenumberOptional | number | Their billable rate on this project, in dollars. |
Returns
Status 201 with a user assignment object.
curl -X POST "https://t.momentic.studio/api/v2/projects/3001/user_assignments" \
-H "Authorization: Bearer $TOKEN" \
-H "Harvest-Account-Id: $ACCOUNT_ID" \
-H "User-Agent: MyApp (admin@example.com)" \
-H "Content-Type: application/json" \
-d '{"user_id":1001}'const response = await fetch("https://t.momentic.studio/api/v2/projects/3001/user_assignments", {
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({
user_id: 1001,
}),
});
const data = await response.json();import os
import requests
response = requests.post(
"https://t.momentic.studio/api/v2/projects/3001/user_assignments",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
json={
"user_id": 1001,
},
)
data = response.json(){
"id": 6001,
"project": {
"id": 3001,
"name": "Website Refresh",
"code": null
},
"user": {
"id": 1001,
"name": "Alex Example"
},
"is_active": true,
"is_project_manager": false,
"use_default_rates": true,
"hourly_rate": 150,
"budget": null,
"created_at": "2026-01-05T15:00:00Z",
"updated_at": "2026-01-05T15:00:00Z"
}Update a user assignment
/ api/ v2/ projects/ {project_id}/ user_assignments/ {user_assignment_id}Differs from Harvest
is_active and budget are ignored: remove the assignment to take the person off the project.
Body, as JSON or form fields
| Name | Type | Description |
|---|---|---|
is_project_managerbooleanOptional | boolean | true makes them a manager of the project. |
use_default_ratesbooleanOptional | boolean | true removes their own rate on the project. |
hourly_ratenumberOptional | number | Their billable rate on this project. |
Returns
Status 200 with a user assignment object.
curl -X PATCH "https://t.momentic.studio/api/v2/projects/3001/user_assignments/6001" \
-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/projects/3001/user_assignments/6001", {
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/projects/3001/user_assignments/6001",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
)
data = response.json(){
"id": 6001,
"project": {
"id": 3001,
"name": "Website Refresh",
"code": null
},
"user": {
"id": 1001,
"name": "Alex Example"
},
"is_active": true,
"is_project_manager": false,
"use_default_rates": true,
"hourly_rate": 150,
"budget": null,
"created_at": "2026-01-05T15:00:00Z",
"updated_at": "2026-01-05T15:00:00Z"
}Remove a user assignment
/ api/ v2/ projects/ {project_id}/ user_assignments/ {user_assignment_id}Differs from Harvest
Allowed when the person has time on the project; their entries stay. A person on the project through a team stays on it.
Returns
Status 200. No body.
curl -X DELETE "https://t.momentic.studio/api/v2/projects/3001/user_assignments/6001" \
-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/projects/3001/user_assignments/6001", {
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/projects/3001/user_assignments/6001",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
)
print(response.status_code)No body.
The user assignment object
| Field | Type | Description |
|---|---|---|
idinteger | integer | The assignment's id. |
projectobject (project_ref) | object (project_ref) | The project. |
userobject (user_ref) | object (user_ref) | The person. |
is_activeboolean | boolean | False when the project or the person is archived. |
is_project_managerboolean | boolean | True when the person manages the project. |
use_default_ratesboolean | boolean | False when the person has their own rate on the project. |
hourly_ratenumber or null | number or null | The person's billable rate on the project. Null unless the token has rates:read and its person is an owner, an admin or a manager of the project. |
budgetnumber or null | number or null | Null. The time tracker has no such data, so this is the empty value. |
created_atdatetime | datetime | When the record was created. |
updated_atdatetime | datetime | When the record was last changed. |
The project ref object
| Field | Type | Description |
|---|---|---|
idinteger | integer | The project's id. |
namestring | string | The project's name. |
codestring or null | string or null | Null. |
The user ref object
| Field | Type | Description |
|---|---|---|
idinteger | integer | The person's id. |
namestring | string | The person's name. |