Skip to Content

Public M2M API — projects

Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.

Authentication and permissions · Requests, results and recovery

/api/v1/projects

Exported methods: GET, POST

GET

  • Resource scopes: projects:read
  • Query parameters: clientId, isArchived, limit, page, priority, search, status
  • Shared pagination: Yes

POST

  • Resource scopes: projects:write
  • Explicit response statuses: 201, 400, 409, 422
  • Explicit error codes: create_failed, invalid_request, onboarding_incomplete
  • Response keys observed across outcomes: project

This source snapshot imports CreateProjectSchema from a module that does not resolve or does not export it. The request payload and a working operation cannot be verified from this handler until the source contract is repaired; do not infer fields from a similarly named schema.

/api/v1/projects/{id}

Exported methods: GET, PATCH, DELETE

GET

  • Resource scopes: projects:read
  • Path parameters: id
  • Explicit response statuses: 404
  • Explicit error codes: not_found
  • Response keys observed across outcomes: project

PATCH

  • Resource scopes: projects:write
  • Path parameters: id
  • Explicit response statuses: 422
  • Explicit error codes: invalid_request
  • Response keys observed across outcomes: project

This source snapshot imports UpdateProjectSchema from a module that does not resolve or does not export it. The request payload and a working operation cannot be verified from this handler until the source contract is repaired; do not infer fields from a similarly named schema.

DELETE

  • Resource scopes: projects:write
  • Path parameters: id
  • Response keys observed across outcomes: deleted, id

Request input was not extracted for this operation; consult its specific contract before sending. Do not infer that no body is required.

/api/v1/projects/{id}/tasks

Exported methods: GET, POST, PATCH

GET

  • Resource scopes: projects:read
  • Path parameters: id
  • Query parameters: assigneeId, priority, search, status
  • Response keys observed across outcomes: data

POST

  • Resource scopes: projects:write
  • Path parameters: id
  • Explicit response statuses: 201, 400, 409, 422
  • Explicit error codes: create_failed, invalid_request, onboarding_incomplete
  • Response keys observed across outcomes: task

This source snapshot imports CreateTaskSchema from a module that does not resolve or does not export it. The request payload and a working operation cannot be verified from this handler until the source contract is repaired; do not infer fields from a similarly named schema.

PATCH

  • Resource scopes: projects:write
  • Path parameters: id
  • Explicit response statuses: 422
  • Explicit error codes: invalid_request
  • Response keys observed across outcomes: task

This source snapshot imports UpdateTaskSchema from a module that does not resolve or does not export it. The request payload and a working operation cannot be verified from this handler until the source contract is repaired; do not infer fields from a similarly named schema.

/api/v1/projects/timesheets

Exported methods: GET, POST

GET

  • Resource scopes: projects:read
  • Query parameters: billable, endDate, limit, page, projectId, startDate, taskId
  • Shared pagination: Yes

POST

  • Resource scopes: projects:write
  • Explicit response statuses: 201, 400, 409, 422
  • Explicit error codes: create_failed, invalid_request, onboarding_incomplete
  • Response keys observed across outcomes: entry

This source snapshot imports CreateTimeEntrySchema from a module that does not resolve or does not export it. The request payload and a working operation cannot be verified from this handler until the source contract is repaired; do not infer fields from a similarly named schema.