Skip to main content
GET
/
api
/
v1
/
tasks
/
dashboard
Get dashboard view for a date
curl --request GET \
  --url https://znift.com/api/v1/tasks/dashboard \
  --header 'x-api-key: <api-key>'
{
  "overdue": [
    {}
  ],
  "pending": [
    {}
  ],
  "completedToday": [
    {}
  ],
  "stats": {
    "pendingCount": 123,
    "completedTodayCount": 123,
    "streak": 123
  }
}

Authorizations

x-api-key
string
header
required

API key with znift_ prefix. Create one in Profile > API Keys.

Query Parameters

date
string<date>
required

Date in YYYY-MM-DD format

Response

200 - application/json

Dashboard data

overdue
object[]
pending
object[]
completedToday
object[]
stats
object