Skip to content

REST API referencev1

Build on OneSuite

The OneSuite REST API lets your own code work with the data of your OneSuite business. This reference covers time, projects, team, invoicing, expenses, reports, clients, CRM, business and account.

Base URL
https://api.onesuite.io/v1
Authentication
X-API-Key header
Answers
JSON
GET/v1/work-types

Request

curl "https://api.onesuite.io/v1/work-types?isArchived=false&limit=1" \
  -H "X-API-Key: $ONESUITE_TOKEN"

Response 200

{
  "data": [
    {
      "id": "cm0w9t4yu0005po98iu76yt54",
      "name": "UI Design",
      "billableRate": 130,
      "currency": "USD",
      "isBillableByDefault": true,
      "isAddedToNewProjects": true,
      "isArchived": false,
      "isInUse": true,
      "position": 3,
      "createdAt": "2026-03-04T12:00:18.441Z",
      "updatedAt": "2026-10-21T07:33:50.006Z"
    }
  ],
  "totalCount": 7,
  "page": 1,
  "limit": 1
}
List work types

API reference

Every resource, grouped by the part of OneSuite it belongs to.

Time

Time entries and timers, and the approval of time and expenses period by period.

Invoicing

Invoices with their lines, payments and client emails, estimates, and the item types they share.

Expenses

Expenses and their receipts, expense categories, and reimbursements owed to team members.

Projects

Projects and their members, work types, tags, and the task board with its sections and tasks.

Team

Team members and their dated rates, roles, permission profiles, permissions, and time off balances and requests.

CRM

Companies, opportunities and pipeline stages, CRM tasks, and the tags, sources and industries that label them.

Clients

Company and individual clients, and the people the business works with.

Reports

Time, expense, uninvoiced, budget and profitability figures, and the reports people have saved.

Business

The business itself: its name, time zone, currency and the settings that shape time, approvals and expenses.

Account

Your own notifications: the list, the unread count, and marking them as read.

Ids, dates, durations and money

How values are written in every request and answer.

Overview
  • Ids are strings. Treat them as opaque: store and compare them as they are.
  • Days are written YYYY-MM-DD, for example 2026-11-20.
  • Moments are ISO 8601 in UTC with milliseconds, for example 2026-11-20T10:15:00.204Z.
  • Durations are decimal hours with two decimals, such as 1.5 for an hour and a half. Where a field counts seconds instead, its description says so.
  • Money is a decimal number with a currency field beside it holding the ISO currency code, such as USD.