Skip to content
APIv1

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-Key or Authorization: Bearer
Format
application/json
Paging
limit 20 by default, at most 1000
Rate limit
100 requests per minute, per token
GET/v1/time-entriesList time entriesEndpoint reference

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
                
                
              
                
                }
                
                
              
  1. filterProjectIds in, a reference out.
  2. Decimal hours; seconds is 1830.
  3. 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

Figure 1 One project's entries from 16 to 22 November, two to a page. The answer is page 1 of 7, with the entries in 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
HeaderValue
X-API-Key$ONESUITE_TOKEN
AuthorizationBearer $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.

Lists, paging and filtering
When youStatusThe answer holds
Read one record200The record in data
Read a list200One page in data, with totalCount, page and limit
Create a record201The new record in data
Change a record200The record as it now is
Delete a record200A 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.

Overview
ValueWritten asExample
IdsStrings. Treat them as opaquecm3n0a1b20009zz08c3d4e5ff
DaysWritten YYYY-MM-DD2026-11-20
MomentsISO 8601 in UTC with milliseconds2026-11-20T10:15:00.204Z
DurationsDecimal hours with two decimals0.51
MoneyA decimal number with a currency field beside it holding the ISO currency code120 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.

Errors and rate limits
{  "status": "fail",  "message": "A short sentence saying why the request was refused."}
CodeMeaning
200Done.
201Created.
400The request is not valid: a missing or malformed parameter, or a value the endpoint does not accept.
402Payment is needed: inviting this person needs a seat the business has not paid for.
403The 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.
404The record does not exist, the token's person may not see it, or the path is not an endpoint of the API.
409The 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.
429Too many requests with this token.
500Something went wrong on OneSuite's side.

Reference