Get a list of company’s tasks.

Examples

{
  "collection": [
    {
      "id": 14,
      "cost_center_id": 17087,
      "cost_center_name": "Cost center name that people use a lot",
      "name": "Task A",
      "notes": "Some very important task",
      "start_date": "2025-02-01",
      "end_date": "2025-03-01",
      "state": "in_progress",
      "external_id": "42",
      "monthly_limit_minutes": null,
      "is_time_limit_hard": false,
      "is_billable": true,
      "billable_amount_cents": 5000,
      "billable_amount_currency": "EUR",
      "billable_amount_unit": "hour"
    }
  ],
  "pagination": {
    "current_page": 1,
    "total_pages": 1,
    "total_count": 1
  }
}

Params

Param name Description
page
optional

Page number.

Validations:

  • Must be a Integer

per_page
optional

Number of records per page. Default: 50.

Validations:

  • Must be a Integer

cost_center_id
optional

Cost center ID to filter tasks by.

Validations:

  • Must be a Integer

q
optional

Pass query to filter tasks by name (case-insensitive).

Validations:

  • Must be a String

state
optional

State to filter tasks by.

Validations:

  • Must be one of: in_progress, completed, not_started.

sort_by
optional

Sort by field. Default: cost_center_id.

Validations:

  • Must be a String

order
optional

Sorting order (descending or ascending). Default: asc.

Validations:

  • Must be one of: desc, asc.