OneSuite API. Your business, in your own code.
It works with the same records you see in the OneSuite app and follows the same rules, so anything you do through the API is what you could do on screen.
- Base URL
https://api.onesuite.io/v1- Token
X-API-KeyorAuthorization: Bearer- Format
application/json- Paging
limit20 by default, at most 1000- Rate limit
- 100 requests per minute, per token
RequestShell
curl "https://api.onesuite.io/v1/time-entries?from=2026-11-16&to=2026-11-22&filterProjectIds=cm1d4e5f60023rs08a1b2c3dd&limit=2" \ -H "X-API-Key: $ONESUITE_TOKEN"Query4 parameters
Returns the time entries the person may see, newest day first, and newest entry first within a day.
from- Only entries on or after this day.
to- Only entries on or before this day.
filterProjectIds- Comma-separated project ids.
limit- Rows per page. Default 20, at most 1000.
Filters only narrow what the person may see: naming a team member they may not see returns an empty page, not an error.
data holds the records of this page, totalCount the number of records that match the request across all pages, and page and limit echo the page you got.
Response200OK
{
"data": [
{
"id": "cm3n0a1b20009zz08c3d4e5ff",
"entryDate": "2026-11-20",
"member": {
"id": "cm1a7rt0p0002mz08k4h1w9ce",
"name": "Jordan Lee"
},
"client": {
"id": "cm1b2c3d40011pq08x7y8z9aa",
"name": "Northwind Studio"
},
"project": {
"id": "cm1d4e5f60023rs08a1b2c3dd",
"name": "Website relaunch",
"code": "103"
},
"notes": "Client call prep",
"seconds": 1830,
"hours": 0.51,
"isBillable": true,
"approvalStatus": "draft",
"billingStatus": "unbilled"
}
],
"totalCount": 14,
"page": 1,
"limit": 2
}
filterProjectIdsin, a reference out.- Decimal hours; seconds is 1830.
- Three separate states: whether it is billable, where it is in approval, and where it is in billing.
1 of 2 entries, 11 of 39 fields shownThe time entry object
data.Start here
Authenticate
Every request to the OneSuite API carries a personal access token. A token belongs to one person in one business: it acts as that person, inside that business, and nothing else.
Authentication| Header | Value |
|---|---|
| X-API-Key | $ONESUITE_TOKEN |
| Authorization | Bearer $ONESUITE_TOKEN |
Both work the same way on every endpoint.
Send JSON, get the record back
Answers are JSON. Send a request body as JSON with the header Content-Type: application/json, unless an endpoint's page says otherwise.
| When you | Status | The answer holds |
|---|---|---|
| Read one record | 200 | The record in data |
| Read a list | 200 | One page in data, with totalCount, page and limit |
| Create a record | 201 | The new record in data |
| Change a record | 200 | The record as it now is |
| Delete a record | 200 | A short message |
Ids, dates, durations and money
Field names are in camel case, such as entryDate or isBillable. Yes-or-no fields start with is, has or can.
| Value | Written as | Example |
|---|---|---|
| Ids | Strings. Treat them as opaque | cm3n0a1b20009zz08c3d4e5ff |
| Days | Written YYYY-MM-DD | 2026-11-20 |
| Moments | ISO 8601 in UTC with milliseconds | 2026-11-20T10:15:00.204Z |
| Durations | Decimal hours with two decimals | 0.51 |
| Money | A decimal number with a currency field beside it holding the ISO currency code | 120 USD |
Errors and rate limits
A request that does not succeed answers with an HTTP status code of 400 or above and a JSON body that says what went wrong: message is meant for people: show it or log it, but decide what to do from the status code. Each token may make 100 requests per minute.
{ "status": "fail", "message": "A short sentence saying why the request was refused."}| Code | Meaning |
|---|---|
| 200 | Done. |
| 201 | Created. |
| 400 | The request is not valid: a missing or malformed parameter, or a value the endpoint does not accept. |
| 402 | Payment is needed: inviting this person needs a seat the business has not paid for. |
| 403 | The token is missing, is not valid or has been revoked, its person is not allowed to do this, or the business has the module this endpoint belongs to turned off. |
| 404 | The record does not exist, the token's person may not see it, or the path is not an endpoint of the API. |
| 409 | The request conflicts with the record's state: for example the time is locked, the entry is already invoiced, or the record is still in use. |
| 429 | Too many requests with this token. |
| 500 | Something went wrong on OneSuite's side. |
Reference
Time
Time entries and timers, and the approval of time and expenses period by period.
10 endpoints
Projects
Projects and their members, work types, tags, and the task board with its sections and tasks.
43 endpoints
Team
Team members and their dated rates, roles, permission profiles, permissions, and time off balances and requests.
51 endpoints
Invoicing
Invoices with their lines, payments and client emails, estimates, and the item types they share.
37 endpoints
Expenses
Expenses and their receipts, expense categories, and reimbursements owed to team members.
16 endpoints
Reports
Time, expense, uninvoiced, budget and profitability figures, and the reports people have saved.
12 endpoints
Clients
Company and individual clients, and the people the business works with.
16 endpoints
CRM
Companies, opportunities and pipeline stages, CRM tasks, and the tags, sources and industries that label them.
62 endpoints
Business
The business itself: its name, time zone, currency and the settings that shape time, approvals and expenses.
2 endpoints
Account
Your own notifications: the list, the unread count, and marking them as read.
6 endpoints