Reference

Projects

List, read, create and update projects through the TimeSubmit API: each operation, its scope, its body and the project's fields.

The project object

Work for a client, with its rate and approval settings.

{
  "id": "k93d6f1h8j2m5q7s0v4x6z9b3c1e8g2t",
  "clientId": "j57c2m8q4t1w9y3z6b0d5f7h2k4n8p1r",
  "name": "Warehouse Platform Migration",
  "title": "Warehouse management platform migration",
  "description": "Moving Fernhill's warehouse system to a cloud platform.",
  "comments": null,
  "status": "active",
  "startDate": "2026-09-01",
  "endDate": "2027-02-26",
  "hourlyRate": 95,
  "currency": "GBP",
  "logoUrl": null,
  "approvalsRequired": 1,
  "sequentialApproval": true,
  "createdAt": "2026-08-20T08:30:00.000Z",
  "updatedAt": "2026-09-01T07:55:12.000Z"
}

Every field below is in every answer. A required field always has a value; a nullable one is null when it has none. More fields may be added within /v1, so have your code ignore any it doesn't recognise.

Fields of the project object
FieldTypeAbout it
id requiredstringThe project's id.
clientId requiredstringThe client it is for.
name requiredstringThe project's name.
title nullablestring or nullA longer title.
description nullablestring or nullWhat the project is.
comments nullablestring or nullInternal notes.
status required"planning" | "active" | "paused" | "completed" | "archived"Where the project is. Archived is the only removal.
startDate nullabledate (YYYY-MM-DD) or nullThe day it starts.
endDate nullabledate (YYYY-MM-DD) or nullThe day it ends. Never before startDate; it may be the same day.
hourlyRate nullablenumber or nullThe rate the client is charged an hour, in currency, as stored. From 0 to 1000000.
currency nullablestring or nullAn ISO 4217 code. One of 7 values.
Show values

GBP, USD, EUR, AUD, CAD, NZD, ZAR

logoUrl nullablestring or nullThe project's logo.
approvalsRequired required deprecatedintegerThe number of approvers a project asked for. It has no effect. From 1 to 10. Deprecated on 1 December 2026. It has never changed approval: a timesheet needs every approver on the project, then final approval. Removed in /v2.
sequentialApproval requiredbooleanWhether approvers approve in order. Margin and Enterprise.
createdAt nullabletime (ISO 8601) or nullWhen it was created.
updatedAt nullabletime (ISO 8601) or nullWhen it last changed.

This list can grow within /v1, so ignore any you don't recognise rather than failing on it. See versioning.

Operations

GET /projects

List projects. A page of your organisation's projects, all or one client's. Needs the projects:read scope. Succeeds with 200, a page of them.

Query parameters of List projects
Query parameterTypeAbout it
clientId optionalstringOnly this client's projects.
limit optionalintegerHow many to a page, 1 to 100. 25 when absent. From 1 to 100.
cursor optionalstringThe nextCursor from the page before.

Example request. The key is read from TIMESUBMIT_API_KEY:

curl 'https://www.timesubmit.com/api/v1/projects' \
  -H "Authorization: Bearer $TIMESUBMIT_API_KEY"

Example response, with status 200:

{
  "data": [
    {
      "id": "k93d6f1h8j2m5q7s0v4x6z9b3c1e8g2t",
      "clientId": "j57c2m8q4t1w9y3z6b0d5f7h2k4n8p1r",
      "name": "Warehouse Platform Migration",
      "title": "Warehouse management platform migration",
      "description": "Moving Fernhill's warehouse system to a cloud platform.",
      "comments": null,
      "status": "active",
      "startDate": "2026-09-01",
      "endDate": "2027-02-26",
      "hourlyRate": 95,
      "currency": "GBP",
      "logoUrl": null,
      "approvalsRequired": 1,
      "sequentialApproval": true,
      "createdAt": "2026-08-20T08:30:00.000Z",
      "updatedAt": "2026-09-01T07:55:12.000Z"
    }
  ],
  "nextCursor": "eyJjcmVhdGVkQXQiOjE3NjQwNjA4MDB9"
}

The error codes it can answer with:

  • unauthorised (401)
  • api_not_included (403)
  • insufficient_scope (403)
  • not_found (404)
  • invalid_request (400)
  • rate_limited (429)

GET /projects/{id}

Read a project. One project. Needs the projects:read scope. Succeeds with 200.

Example request. The key is read from TIMESUBMIT_API_KEY:

curl 'https://www.timesubmit.com/api/v1/projects/k93d6f1h8j2m5q7s0v4x6z9b3c1e8g2t' \
  -H "Authorization: Bearer $TIMESUBMIT_API_KEY"

Example response, with status 200:

{
  "id": "k93d6f1h8j2m5q7s0v4x6z9b3c1e8g2t",
  "clientId": "j57c2m8q4t1w9y3z6b0d5f7h2k4n8p1r",
  "name": "Warehouse Platform Migration",
  "title": "Warehouse management platform migration",
  "description": "Moving Fernhill's warehouse system to a cloud platform.",
  "comments": null,
  "status": "active",
  "startDate": "2026-09-01",
  "endDate": "2027-02-26",
  "hourlyRate": 95,
  "currency": "GBP",
  "logoUrl": null,
  "approvalsRequired": 1,
  "sequentialApproval": true,
  "createdAt": "2026-08-20T08:30:00.000Z",
  "updatedAt": "2026-09-01T07:55:12.000Z"
}

The error codes it can answer with:

  • unauthorised (401)
  • api_not_included (403)
  • insufficient_scope (403)
  • not_found (404)
  • rate_limited (429)

POST /projects

Create a project. Adds a project under one of your clients, in planning, within your plan's project limit. Needs the projects:write scope. Accepts an Idempotency-Key. Succeeds with 201.

The body is a JSON object. Any other field is refused with its name.

Body fields of Create a project
FieldTypeAbout it
clientId requiredstringThe client it is for.
name requiredstringThe project's name. Not blank.
title optional nullablestring or nullA longer title.
description optional nullablestring or nullWhat the project is.
startDate optional nullabledate (YYYY-MM-DD) or nullThe day it starts.
endDate optional nullabledate (YYYY-MM-DD) or nullThe day it ends. Never before startDate; it may be the same day.
hourlyRate optional nullablenumber or nullThe rate the client is charged an hour, in currency, as stored. From 0 to 1000000.
currency optional nullablestring or nullAn ISO 4217 code. One of 7 values.
Show values

GBP, USD, EUR, AUD, CAD, NZD, ZAR

approvalsRequired optional deprecatedintegerThe number of approvers a project asked for. It has no effect. From 1 to 10. Deprecated on 1 December 2026. It has never changed approval: a timesheet needs every approver on the project, then final approval. Removed in /v2.
sequentialApproval optionalbooleanTurn sequential approval on or off. Turning it on needs the Margin or Enterprise plan.

This list can grow within /v1, so ignore any you don't recognise rather than failing on it. See versioning.

Example request, with a fresh Idempotency-Key each time it runs. The key is read from TIMESUBMIT_API_KEY:

curl -X POST 'https://www.timesubmit.com/api/v1/projects' \
  -H "Authorization: Bearer $TIMESUBMIT_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "clientId": "j57c2m8q4t1w9y3z6b0d5f7h2k4n8p1r",
  "name": "Warehouse Platform Migration",
  "title": "Warehouse management platform migration",
  "description": "Moving Fernhill'\''s warehouse system to a cloud platform.",
  "startDate": "2026-09-01",
  "endDate": "2027-02-26",
  "hourlyRate": 95,
  "currency": "GBP",
  "sequentialApproval": true
}'

Example response, with status 201:

{
  "id": "k93d6f1h8j2m5q7s0v4x6z9b3c1e8g2t",
  "clientId": "j57c2m8q4t1w9y3z6b0d5f7h2k4n8p1r",
  "name": "Warehouse Platform Migration",
  "title": "Warehouse management platform migration",
  "description": "Moving Fernhill's warehouse system to a cloud platform.",
  "comments": null,
  "status": "planning",
  "startDate": "2026-09-01",
  "endDate": "2027-02-26",
  "hourlyRate": 95,
  "currency": "GBP",
  "logoUrl": null,
  "approvalsRequired": 1,
  "sequentialApproval": true,
  "createdAt": "2026-08-20T08:30:00.000Z",
  "updatedAt": "2026-09-01T07:55:12.000Z"
}

The error codes it can answer with:

  • unauthorised (401)
  • api_not_included (403)
  • insufficient_scope (403)
  • read_only (403)
  • project_limit_reached (403)
  • not_on_plan (403)
  • not_found (404)
  • invalid_request (400)
  • idempotency_conflict (409)
  • rate_limited (429)

PATCH /projects/{id}

Update a project. Changes the fields sent, and with status, the status. null clears a field. A project never moves to another client. Needs the projects:write scope. Accepts an Idempotency-Key. Succeeds with 200.

The body is a JSON object. Send only the fields to change. Any other field is refused with its name.

Body fields of Update a project
FieldTypeAbout it
name optionalstringThe project's name. Not blank.
title optional nullablestring or nullA longer title.
description optional nullablestring or nullWhat the project is.
startDate optional nullabledate (YYYY-MM-DD) or nullThe day it starts.
endDate optional nullabledate (YYYY-MM-DD) or nullThe day it ends. Never before startDate; it may be the same day.
hourlyRate optional nullablenumber or nullThe rate the client is charged an hour, in currency, as stored. From 0 to 1000000.
currency optional nullablestring or nullAn ISO 4217 code. One of 7 values.
Show values

GBP, USD, EUR, AUD, CAD, NZD, ZAR

approvalsRequired optional deprecatedintegerThe number of approvers a project asked for. It has no effect. From 1 to 10. Deprecated on 1 December 2026. It has never changed approval: a timesheet needs every approver on the project, then final approval. Removed in /v2.
sequentialApproval optionalbooleanTurn sequential approval on or off. Turning it on needs the Margin or Enterprise plan.
comments optional nullablestring or nullInternal notes.
status optional"planning" | "active" | "paused" | "completed" | "archived"The status to set. Archiving is a status; there is no delete.

This list can grow within /v1, so ignore any you don't recognise rather than failing on it. See versioning.

Example request, with a fresh Idempotency-Key each time it runs. The key is read from TIMESUBMIT_API_KEY:

curl -X PATCH 'https://www.timesubmit.com/api/v1/projects/k93d6f1h8j2m5q7s0v4x6z9b3c1e8g2t' \
  -H "Authorization: Bearer $TIMESUBMIT_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "status": "active",
  "endDate": "2027-03-31"
}'

Example response, with status 200:

{
  "id": "k93d6f1h8j2m5q7s0v4x6z9b3c1e8g2t",
  "clientId": "j57c2m8q4t1w9y3z6b0d5f7h2k4n8p1r",
  "name": "Warehouse Platform Migration",
  "title": "Warehouse management platform migration",
  "description": "Moving Fernhill's warehouse system to a cloud platform.",
  "comments": null,
  "status": "active",
  "startDate": "2026-09-01",
  "endDate": "2027-03-31",
  "hourlyRate": 95,
  "currency": "GBP",
  "logoUrl": null,
  "approvalsRequired": 1,
  "sequentialApproval": true,
  "createdAt": "2026-08-20T08:30:00.000Z",
  "updatedAt": "2026-09-01T07:55:12.000Z"
}

The error codes it can answer with:

  • unauthorised (401)
  • api_not_included (403)
  • insufficient_scope (403)
  • read_only (403)
  • project_limit_reached (403)
  • not_on_plan (403)
  • not_found (404)
  • invalid_request (400)
  • idempotency_conflict (409)
  • rate_limited (429)