Skip to content

Docs / API objects

Users

List the people in your workspace, look up the token's own person, and see which projects each person is on.

View as Markdown

List users

GET/api/v2/users
Scope
reports:read

Differs from Harvest

  • Owners, admins and managers may list people; a member is refused (403), as in Harvest. Emails of other people need an owner or admin token with people:read.
  • first_name is the first word of the name and last_name the rest.

Query parameters

Query parameters of List users
NameTypeDescription
is_activebooleanOptionalbooleantrue for active records only, false for archived only. Another value is ignored, as in Harvest.
updated_sincedatetimeOptionaldatetimeOnly records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.
pageintegerOptionalintegerThe page to return, from 1. Default 1. A page past the end returns no records.
per_pageintegerOptionalintegerRecords per page, 1 to 2000. Default 2000. Another value is refused with 400.

Returns

Status 200 with a page of user objects under users, and the pagination fields.

curl "https://t.momentic.studio/api/v2/users" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
Response200
{
  "users": [
    {
      "id": 1001,
      "first_name": "Alex",
      "last_name": "Example",
      "employee_id": null,
      "email": "alex@example.com",
      "telephone": "",
      "timezone": "Central Time (US & Canada)",
      "has_access_to_all_future_projects": false,
      "is_contractor": false,
      "is_active": true,
      "weekly_capacity": 144000,
      "default_hourly_rate": 150,
      "cost_rate": null,
      "roles": [
        "Design"
      ],
      "access_roles": [
        "member"
      ],
      "permissions_profile": "Member",
      "permissions_claims": [
        "timers:read:own",
        "timers:write:own"
      ],
      "can_create_projects": false,
      "calendar_integration_enabled": false,
      "calendar_integration_source": null,
      "avatar_url": "",
      "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/users?page=1&per_page=2000&ref=first",
    "next": null,
    "previous": null,
    "last": "https://t.momentic.studio/api/v2/users?page=1&per_page=2000&ref=last"
  }
}

Retrieve the token's person

GET/api/v2/users/me
Scope
reports:read

Differs from Harvest

The same fields as a user. The email is the person's own.

Returns

Status 200 with a user object.

curl "https://t.momentic.studio/api/v2/users/me" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
Response200
{
  "id": 1001,
  "first_name": "Alex",
  "last_name": "Example",
  "employee_id": null,
  "email": "alex@example.com",
  "telephone": "",
  "timezone": "Central Time (US & Canada)",
  "has_access_to_all_future_projects": false,
  "is_contractor": false,
  "is_active": true,
  "weekly_capacity": 144000,
  "default_hourly_rate": 150,
  "cost_rate": null,
  "roles": [
    "Design"
  ],
  "access_roles": [
    "member"
  ],
  "permissions_profile": "Member",
  "permissions_claims": [
    "timers:read:own",
    "timers:write:own"
  ],
  "can_create_projects": false,
  "calendar_integration_enabled": false,
  "calendar_integration_source": null,
  "avatar_url": "",
  "created_at": "2026-01-05T15:00:00Z",
  "updated_at": "2026-01-05T15:00:00Z"
}

Retrieve a user

GET/api/v2/users/{user_id}
Scope
reports:read

Differs from Harvest

Returns

Status 200 with a user object.

curl "https://t.momentic.studio/api/v2/users/1001" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
Response200
{
  "id": 1001,
  "first_name": "Alex",
  "last_name": "Example",
  "employee_id": null,
  "email": "alex@example.com",
  "telephone": "",
  "timezone": "Central Time (US & Canada)",
  "has_access_to_all_future_projects": false,
  "is_contractor": false,
  "is_active": true,
  "weekly_capacity": 144000,
  "default_hourly_rate": 150,
  "cost_rate": null,
  "roles": [
    "Design"
  ],
  "access_roles": [
    "member"
  ],
  "permissions_profile": "Member",
  "permissions_claims": [
    "timers:read:own",
    "timers:write:own"
  ],
  "can_create_projects": false,
  "calendar_integration_enabled": false,
  "calendar_integration_source": null,
  "avatar_url": "",
  "created_at": "2026-01-05T15:00:00Z",
  "updated_at": "2026-01-05T15:00:00Z"
}

Create a user

POST/api/v2/users
Scope
people:write

Differs from Harvest

  • Adds the person with the role from access_roles (administrator becomes admin, manager, member) and sends the app's invitation. Only an owner can add an owner.
  • default_hourly_rate and cost_rate are not taken: set rates with the billable rates endpoint. timezone, is_contractor and has_access_to_all_future_projects are ignored.

Body, as JSON or form fields

Body fields of Create a user
NameTypeDescription
first_namestringRequiredstringFirst name.
last_namestringRequiredstringLast name.
emailstringRequiredstringEmail. The person signs in with it.
weekly_capacityintegerOptionalintegerWeekly capacity in seconds. Default 144000 (40 hours).
access_rolesstring[]Optionalstring[]administrator, manager or member. Default member.

Returns

Status 201 with a user object.

curl -X POST "https://t.momentic.studio/api/v2/users" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)" \
  -H "Content-Type: application/json" \
  -d '{"first_name":"Alex","last_name":"Example","email":"alex@example.com"}'
Response201
{
  "id": 1001,
  "first_name": "Alex",
  "last_name": "Example",
  "employee_id": null,
  "email": "alex@example.com",
  "telephone": "",
  "timezone": "Central Time (US & Canada)",
  "has_access_to_all_future_projects": false,
  "is_contractor": false,
  "is_active": true,
  "weekly_capacity": 144000,
  "default_hourly_rate": 150,
  "cost_rate": null,
  "roles": [
    "Design"
  ],
  "access_roles": [
    "member"
  ],
  "permissions_profile": "Member",
  "permissions_claims": [
    "timers:read:own",
    "timers:write:own"
  ],
  "can_create_projects": false,
  "calendar_integration_enabled": false,
  "calendar_integration_source": null,
  "avatar_url": "",
  "created_at": "2026-01-05T15:00:00Z",
  "updated_at": "2026-01-05T15:00:00Z"
}

Update a user

PATCH/api/v2/users/{user_id}
Scope
people:write

Differs from Harvest

Changes the name, weekly capacity, role (access_roles) and is_active (false archives, true restores). Email, timezone and the other fields are ignored.

Body, as JSON or form fields

Body fields of Update a user
NameTypeDescription
first_namestringOptionalstringFirst name.
last_namestringOptionalstringLast name.
weekly_capacityintegerOptionalintegerWeekly capacity in seconds.
access_rolesstring[]Optionalstring[]administrator, manager or member.
is_activebooleanOptionalbooleanfalse archives the person; true restores them.

Returns

Status 200 with a user object.

curl -X PATCH "https://t.momentic.studio/api/v2/users/1001" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
Response200
{
  "id": 1001,
  "first_name": "Alex",
  "last_name": "Example",
  "employee_id": null,
  "email": "alex@example.com",
  "telephone": "",
  "timezone": "Central Time (US & Canada)",
  "has_access_to_all_future_projects": false,
  "is_contractor": false,
  "is_active": true,
  "weekly_capacity": 144000,
  "default_hourly_rate": 150,
  "cost_rate": null,
  "roles": [
    "Design"
  ],
  "access_roles": [
    "member"
  ],
  "permissions_profile": "Member",
  "permissions_claims": [
    "timers:read:own",
    "timers:write:own"
  ],
  "can_create_projects": false,
  "calendar_integration_enabled": false,
  "calendar_integration_source": null,
  "avatar_url": "",
  "created_at": "2026-01-05T15:00:00Z",
  "updated_at": "2026-01-05T15:00:00Z"
}

Update the token's person

PATCH/api/v2/users/me
Scope
people:write

Differs from Harvest

The update of /v2/users/{user_id} for the token's own person, with the same fields and rules. An owner or admin edits people, themselves included; other roles cannot hold people:write, so their tokens are refused (403). PUT is accepted too, as in Harvest.

Body, as JSON or form fields

Body fields of Update the token's person
NameTypeDescription
first_namestringOptionalstringFirst name.
last_namestringOptionalstringLast name.
weekly_capacityintegerOptionalintegerWeekly capacity in seconds.

Returns

Status 200 with a user object.

curl -X PATCH "https://t.momentic.studio/api/v2/users/me" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
Response200
{
  "id": 1001,
  "first_name": "Alex",
  "last_name": "Example",
  "employee_id": null,
  "email": "alex@example.com",
  "telephone": "",
  "timezone": "Central Time (US & Canada)",
  "has_access_to_all_future_projects": false,
  "is_contractor": false,
  "is_active": true,
  "weekly_capacity": 144000,
  "default_hourly_rate": 150,
  "cost_rate": null,
  "roles": [
    "Design"
  ],
  "access_roles": [
    "member"
  ],
  "permissions_profile": "Member",
  "permissions_claims": [
    "timers:read:own",
    "timers:write:own"
  ],
  "can_create_projects": false,
  "calendar_integration_enabled": false,
  "calendar_integration_source": null,
  "avatar_url": "",
  "created_at": "2026-01-05T15:00:00Z",
  "updated_at": "2026-01-05T15:00:00Z"
}

Delete a user

DELETE/api/v2/users/{user_id}
Scope
people:write

Differs from Harvest

As in Harvest, only a person with no time entries can be deleted; anyone else is refused (422): archive them with is_active false. Needs an owner or admin token; the app's rules on owners and the last owner apply.

Returns

Status 200. No body.

curl -X DELETE "https://t.momentic.studio/api/v2/users/1001" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
Response 200

No body.

List a user's project assignments

GET/api/v2/users/{user_id}/project_assignments
Scope
reports:read

Differs from Harvest

A member reads only their own.

Query parameters

Query parameters of List a user's project assignments
NameTypeDescription
updated_sincedatetimeOptionaldatetimeOnly records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.
pageintegerOptionalintegerThe page to return, from 1. Default 1. A page past the end returns no records.
per_pageintegerOptionalintegerRecords per page, 1 to 2000. Default 2000. Another value is refused with 400.

Returns

Status 200 with a page of project assignment objects under project_assignments, and the pagination fields.

curl "https://t.momentic.studio/api/v2/users/1001/project_assignments" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
Response200
{
  "project_assignments": [
    {
      "id": 6001,
      "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",
      "project": {
        "id": 3001,
        "name": "Website Refresh",
        "code": null,
        "is_billable": true
      },
      "client": {
        "id": 2001,
        "name": "Example Client",
        "currency": "USD"
      },
      "task_assignments": [
        {
          "id": 5001,
          "billable": true,
          "is_active": true,
          "created_at": "2026-01-05T15:00:00Z",
          "updated_at": "2026-01-05T15:00:00Z",
          "hourly_rate": null,
          "budget": null,
          "task": {
            "id": 4001,
            "name": "Design"
          }
        }
      ]
    }
  ],
  "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/users/1001/project_assignments?page=1&per_page=2000&ref=first",
    "next": null,
    "previous": null,
    "last": "https://t.momentic.studio/api/v2/users/1001/project_assignments?page=1&per_page=2000&ref=last"
  }
}

List the token person's project assignments

GET/api/v2/users/me/project_assignments
Scope
reports:read

Differs from Harvest

Projects open to everyone are listed only where the person is assigned.

Query parameters

Query parameters of List the token person's project assignments
NameTypeDescription
updated_sincedatetimeOptionaldatetimeOnly records changed at or after this ISO 8601 date-time. A value that is not a date-time is refused with 400.
pageintegerOptionalintegerThe page to return, from 1. Default 1. A page past the end returns no records.
per_pageintegerOptionalintegerRecords per page, 1 to 2000. Default 2000. Another value is refused with 400.

Returns

Status 200 with a page of project assignment objects under project_assignments, and the pagination fields.

curl "https://t.momentic.studio/api/v2/users/me/project_assignments" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
Response200
{
  "project_assignments": [
    {
      "id": 6001,
      "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",
      "project": {
        "id": 3001,
        "name": "Website Refresh",
        "code": null,
        "is_billable": true
      },
      "client": {
        "id": 2001,
        "name": "Example Client",
        "currency": "USD"
      },
      "task_assignments": [
        {
          "id": 5001,
          "billable": true,
          "is_active": true,
          "created_at": "2026-01-05T15:00:00Z",
          "updated_at": "2026-01-05T15:00:00Z",
          "hourly_rate": null,
          "budget": null,
          "task": {
            "id": 4001,
            "name": "Design"
          }
        }
      ]
    }
  ],
  "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/users/me/project_assignments?page=1&per_page=2000&ref=first",
    "next": null,
    "previous": null,
    "last": "https://t.momentic.studio/api/v2/users/me/project_assignments?page=1&per_page=2000&ref=last"
  }
}

List a manager's teammates

GET/api/v2/users/{user_id}/teammates
Scope
reports:read

Not supported

The time tracker has teams, not teammates; teams are listed as roles. The list is empty.

Query parameters

Query parameters of List a manager's teammates
NameTypeDescription
pageintegerOptionalintegerThe page to return, from 1. Default 1. A page past the end returns no records.
per_pageintegerOptionalintegerRecords per page, 1 to 2000. Default 2000. Another value is refused with 400.

Returns

Status 200 with a page of teammate objects under teammates, and the pagination fields.

curl "https://t.momentic.studio/api/v2/users/1001/teammates" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
Response200
{
  "teammates": [],
  "per_page": 2000,
  "total_pages": 1,
  "total_entries": 0,
  "next_page": null,
  "previous_page": null,
  "page": 1,
  "links": {
    "first": "https://t.momentic.studio/api/v2/users/1001/teammates?page=1&per_page=2000&ref=first",
    "next": null,
    "previous": null,
    "last": "https://t.momentic.studio/api/v2/users/1001/teammates?page=1&per_page=2000&ref=last"
  }
}

Set a manager's teammates

PATCH/api/v2/users/{user_id}/teammates
Scope
time:write

Not supported

Use roles (teams) instead.

Returns

Status 200. No body.

curl -X PATCH "https://t.momentic.studio/api/v2/users/1001/teammates" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Harvest-Account-Id: $ACCOUNT_ID" \
  -H "User-Agent: MyApp (admin@example.com)"
Response

The note above says what this endpoint returns.

The user object

Fields of the user object
FieldTypeDescription
idintegerintegerThe person's id.
first_namestringstringThe first word of the person's name.
last_namestringstringThe rest of the person's name.
employee_idstring or nullstring or nullNull. The time tracker has no such data, so this is the empty value.
emailstring or nullstring or nullThe person's email. Null for other people unless the token's person is an owner or admin and the token has people:read.
telephonestringstringAn empty string. The time tracker has no such data, so this is the empty value.
timezonestringstringThe workspace time zone, as a Rails time zone name such as Central Time (US & Canada), as Harvest writes it. A zone with no Rails name is written as its IANA name, such as America/Boise.
has_access_to_all_future_projectsbooleanbooleanFalse. The time tracker has no such data, so this is the empty value.
is_contractorbooleanbooleanFalse. The time tracker has no such data, so this is the empty value.
is_activebooleanbooleanFalse when the person is archived.
weekly_capacityintegerintegerThe person's weekly capacity in seconds.
default_hourly_ratenumber or nullnumber or nullThe person's billable rate in effect today. Null unless the token has rates:read and its person is an owner, an admin or a manager.
cost_ratenumber or nullnumber or nullNull. This API does not return cost, for any role or scope.
rolesstring[]string[]The names of the person's teams.
access_rolesstring[]string[]administrator for an owner or admin, manager for a manager, member for a member.
permissions_profilestringstringOwner, Administrator, Manager or Member.
permissions_claimsstring[]string[]What the role can do, in Harvest's resource:action:scope form, such as timers:write:own. Lists only records this API has: no invoices, estimates, expenses or cost.
can_create_projectsbooleanbooleanTrue for an owner, admin or manager.
calendar_integration_enabledbooleanbooleanFalse. The time tracker has no such data, so this is the empty value.
calendar_integration_sourcestring or nullstring or nullNull. The time tracker has no such data, so this is the empty value.
avatar_urlstringstringThe person's profile photo address, or an empty string.
created_atdatetimedatetimeWhen the record was created.
updated_atdatetimedatetimeWhen the record was last changed.

The project assignment object

Fields of the project assignment object
FieldTypeDescription
idintegerintegerThe assignment's id.
is_activebooleanbooleanFalse when the project or the person is archived.
is_project_managerbooleanbooleanTrue when the person manages the project.
use_default_ratesbooleanbooleanFalse when the person has their own rate on the project.
hourly_ratenumber or nullnumber or nullThe 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 nullnumber or nullNull. The time tracker has no such data, so this is the empty value.
created_atdatetimedatetimeWhen the record was created.
updated_atdatetimedatetimeWhen the record was last changed.
projectobject (project_ref_billable)object (project_ref_billable)The project.
clientobject (client_ref_currency)object (client_ref_currency)The project's client.
task_assignmentsarray of project_assignment_taskarray of project_assignment_taskThe project's tasks, by task name.

The project ref billable object

Fields of the project ref billable object
FieldTypeDescription
idintegerintegerThe project's id.
namestringstringThe project's name.
codestring or nullstring or nullNull.
is_billablebooleanbooleanTrue for retainer, fixed fee and hourly projects.

The client ref currency object

Fields of the client ref currency object
FieldTypeDescription
idintegerintegerThe client's id.
namestringstringThe client's name.
currencystringstringUSD.

The project assignment task object

Fields of the project assignment task object
FieldTypeDescription
idintegerintegerThe task assignment's id.
billablebooleanbooleanWhether time on the task is billable on this project.
is_activebooleanbooleanFalse when the task is archived.
created_atdatetimedatetimeWhen the record was created.
updated_atdatetimedatetimeWhen the record was last changed.
hourly_ratenumber or nullnumber or nullNull: a task rate applies to projects billed by task, which the time tracker does not have. The rate is on the project and the person. The time tracker has no such data, so this is the empty value.
budgetnumber or nullnumber or nullNull. The time tracker has no such data, so this is the empty value.
taskobject (task_ref)object (task_ref)The task.

The task ref object

Fields of the task ref object
FieldTypeDescription
idintegerintegerThe task's id.
namestringstringThe task's name.