Skip to main content
GET
/
tasks
List tasks
curl --request GET \
  --url https://api.heffl.com/api/v1/tasks \
  --header 'x-api-key: <api-key>'
{
  "items": [
    {
      "id": 123,
      "number": "<string>",
      "title": "<string>",
      "status": "<string>",
      "type": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "priority": "<string>",
      "dueDate": "2023-11-07T05:31:56Z",
      "startDate": "2023-11-07T05:31:56Z"
    }
  ],
  "meta": {
    "count": 123,
    "total": 123,
    "pageNo": 123,
    "pageSize": 123
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication. Get yours at app.heffl.com/settings/developers

Query Parameters

pageNo
number
default:1

Page number (starts from 1)

Required range: x >= 1
pageSize
number
default:20

Number of items per page (max 100)

Required range: 1 <= x <= 100

Search by task title

status
enum<string>

Filter by status

Available options:
OPEN,
IN_PROGRESS,
ON_HOLD,
COMPLETED,
CANCELLED
type
enum<string>

Filter by task type

Available options:
call,
todo,
meeting
priority
enum<string>

Filter by priority

Available options:
LOW,
MEDIUM,
HIGH

Response

200 - application/json

OK

items
object[]
required
meta
object
required