Docs / API objects
Clients and contacts
Clients and their contacts: the people invoices go to.
A client owns projects and contacts. Archiving a client archives its projects.
List clients
/ api/ v2/ clientsDiffers from Harvest
Owners, admins and managers; a member is refused (403). address is null and currency is USD.
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 client objects under clients, and the pagination fields.
curl "https://t.momentic.studio/api/v2/clients" \
-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/clients", {
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/clients",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
)
data = response.json(){
"clients": [
{
"id": 2001,
"name": "Example Client",
"is_active": true,
"address": null,
"statement_key": "",
"currency": "USD",
"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/clients?page=1&per_page=2000&ref=first",
"next": null,
"previous": null,
"last": "https://t.momentic.studio/api/v2/clients?page=1&per_page=2000&ref=last"
}
}Retrieve a client
/ api/ v2/ clients/ {client_id}Differs from Harvest
Returns
Status 200 with a client object.
curl "https://t.momentic.studio/api/v2/clients/2001" \
-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/clients/2001", {
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/clients/2001",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
)
data = response.json(){
"id": 2001,
"name": "Example Client",
"is_active": true,
"address": null,
"statement_key": "",
"currency": "USD",
"created_at": "2026-01-05T15:00:00Z",
"updated_at": "2026-01-05T15:00:00Z"
}Create a client
/ api/ v2/ clientsDiffers from Harvest
address and currency are ignored.
Body, as JSON or form fields
| Name | Type | Description |
|---|---|---|
namestringRequired | string | The client's name, up to 200 characters. |
is_activebooleanOptional | boolean | false creates it archived. |
Returns
Status 201 with a client object.
curl -X POST "https://t.momentic.studio/api/v2/clients" \
-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/clients", {
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/clients",
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": 2001,
"name": "Example Client",
"is_active": true,
"address": null,
"statement_key": "",
"currency": "USD",
"created_at": "2026-01-05T15:00:00Z",
"updated_at": "2026-01-05T15:00:00Z"
}Update a client
/ api/ v2/ clients/ {client_id}Differs from Harvest
Changes name and is_active. address and currency are ignored.
Body, as JSON or form fields
| Name | Type | Description |
|---|---|---|
namestringOptional | string | The client's name. |
is_activebooleanOptional | boolean | false archives the client and its projects; true restores it. |
Returns
Status 200 with a client object.
curl -X PATCH "https://t.momentic.studio/api/v2/clients/2001" \
-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/clients/2001", {
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/clients/2001",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
)
data = response.json(){
"id": 2001,
"name": "Example Client",
"is_active": true,
"address": null,
"statement_key": "",
"currency": "USD",
"created_at": "2026-01-05T15:00:00Z",
"updated_at": "2026-01-05T15:00:00Z"
}Delete a client
/ api/ v2/ clients/ {client_id}Not supported
Archive with is_active false. Deleting clients is not offered by the app.
Returns
Status 200. No body.
curl -X DELETE "https://t.momentic.studio/api/v2/clients/2001" \
-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/clients/2001", {
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/clients/2001",
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.
List contacts
/ api/ v2/ contactsDiffers from Harvest
Owners, admins and managers; a member is refused (403). A contact has one name and one phone number: first_name is the first word of the name, the phone is phone_office, and phone_mobile and fax are empty. invoice_recipient_status is none: invoice recipients are chosen per client in the app.
Query parameters
| Name | Type | Description |
|---|---|---|
client_idintegerOptional | integer | Only this client's contacts. |
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 contact objects under contacts, and the pagination fields.
curl "https://t.momentic.studio/api/v2/contacts" \
-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/contacts", {
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/contacts",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
)
data = response.json(){
"contacts": [
{
"id": 8001,
"client": {
"id": 2001,
"name": "Example Client"
},
"title": "Finance lead",
"first_name": "Pat",
"last_name": "Example",
"email": "pat@example.com",
"phone_office": "555-0100",
"phone_mobile": "",
"fax": "",
"invoice_recipient_status": "none",
"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/contacts?page=1&per_page=2000&ref=first",
"next": null,
"previous": null,
"last": "https://t.momentic.studio/api/v2/contacts?page=1&per_page=2000&ref=last"
}
}Retrieve a contact
/ api/ v2/ contacts/ {contact_id}Differs from Harvest
Returns
Status 200 with a contact object.
curl "https://t.momentic.studio/api/v2/contacts/1" \
-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/contacts/1", {
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/contacts/1",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
)
data = response.json(){
"id": 8001,
"client": {
"id": 2001,
"name": "Example Client"
},
"title": "Finance lead",
"first_name": "Pat",
"last_name": "Example",
"email": "pat@example.com",
"phone_office": "555-0100",
"phone_mobile": "",
"fax": "",
"invoice_recipient_status": "none",
"created_at": "2026-01-05T15:00:00Z",
"updated_at": "2026-01-05T15:00:00Z"
}Create a contact
/ api/ v2/ contactsDiffers from Harvest
email is required here: the app sends invoices to contacts by email. phone_office, or else phone_mobile, is kept as the one phone number; fax is ignored. A client has one contact per email address.
Body, as JSON or form fields
| Name | Type | Description |
|---|---|---|
client_idintegerRequired | integer | The client. |
first_namestringRequired | string | First name. |
last_namestringOptional | string | Last name. |
emailstringRequired | string | Email. |
titlestringOptional | string | Title. |
phone_officestringOptional | string | Phone number. |
phone_mobilestringOptional | string | Used when phone_office is not sent. |
Returns
Status 201 with a contact object.
curl -X POST "https://t.momentic.studio/api/v2/contacts" \
-H "Authorization: Bearer $TOKEN" \
-H "Harvest-Account-Id: $ACCOUNT_ID" \
-H "User-Agent: MyApp (admin@example.com)" \
-H "Content-Type: application/json" \
-d '{"client_id":2001,"first_name":"Alex","email":"alex@example.com"}'const response = await fetch("https://t.momentic.studio/api/v2/contacts", {
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({
client_id: 2001,
first_name: "Alex",
email: "alex@example.com",
}),
});
const data = await response.json();import os
import requests
response = requests.post(
"https://t.momentic.studio/api/v2/contacts",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
json={
"client_id": 2001,
"first_name": "Alex",
"email": "alex@example.com",
},
)
data = response.json(){
"id": 8001,
"client": {
"id": 2001,
"name": "Example Client"
},
"title": "Finance lead",
"first_name": "Pat",
"last_name": "Example",
"email": "pat@example.com",
"phone_office": "555-0100",
"phone_mobile": "",
"fax": "",
"invoice_recipient_status": "none",
"created_at": "2026-01-05T15:00:00Z",
"updated_at": "2026-01-05T15:00:00Z"
}Update a contact
/ api/ v2/ contacts/ {contact_id}Differs from Harvest
Changes first_name, last_name, title, email and the phone number. client_id and fax are ignored: a contact stays with its client.
Body, as JSON or form fields
| Name | Type | Description |
|---|---|---|
first_namestringOptional | string | First name. |
last_namestringOptional | string | Last name. |
emailstringOptional | string | Email. |
titlestringOptional | string | Title. |
phone_officestringOptional | string | Phone number. |
Returns
Status 200 with a contact object.
curl -X PATCH "https://t.momentic.studio/api/v2/contacts/1" \
-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/contacts/1", {
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/contacts/1",
headers={
"Authorization": f"Bearer {os.environ['TOKEN']}",
"Harvest-Account-Id": os.environ["ACCOUNT_ID"],
"User-Agent": "MyApp (admin@example.com)",
},
)
data = response.json(){
"id": 8001,
"client": {
"id": 2001,
"name": "Example Client"
},
"title": "Finance lead",
"first_name": "Pat",
"last_name": "Example",
"email": "pat@example.com",
"phone_office": "555-0100",
"phone_mobile": "",
"fax": "",
"invoice_recipient_status": "none",
"created_at": "2026-01-05T15:00:00Z",
"updated_at": "2026-01-05T15:00:00Z"
}curl -X DELETE "https://t.momentic.studio/api/v2/contacts/1" \
-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/contacts/1", {
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/contacts/1",
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 client object
| Field | Type | Description |
|---|---|---|
idinteger | integer | The client's id. |
namestring | string | The client's name. |
is_activeboolean | boolean | False when the client is archived. |
addressstring or null | string or null | Null. The time tracker has no such data, so this is the empty value. |
statement_keystring | string | An empty string. The time tracker has no such data, so this is the empty value. |
currencystring | string | USD. |
created_atdatetime | datetime | When the record was created. |
updated_atdatetime | datetime | When the record was last changed. |
The contact object
| Field | Type | Description |
|---|---|---|
idinteger | integer | The contact's id. |
clientobject (client_ref) | object (client_ref) | The contact's client. |
titlestring | string | The contact's title, or an empty string. |
first_namestring | string | The first word of the contact's name. |
last_namestring | string | The rest of the contact's name. |
emailstring | string | The contact's email. |
phone_officestring | string | The contact's phone number, or an empty string. The time tracker keeps one phone number per contact. |
phone_mobilestring | string | An empty string. The time tracker keeps one phone number per contact, returned as phone_office. |
faxstring | string | An empty string. The time tracker has no such data, so this is the empty value. |
invoice_recipient_statusstring | string | none. Invoice recipients are chosen per client in the app, not on the contact. |
created_atdatetime | datetime | When the record was created. |
updated_atdatetime | datetime | When the record was last changed. |
The client ref object
| Field | Type | Description |
|---|---|---|
idinteger | integer | The client's id. |
namestring | string | The client's name. |