Skip to Content
Daylite API
Tasks

Get a task

GET
/v1/tasks/{id}

Authorization

ApiKey
headerAuthorizationBearer <dl_…>

Personal API key created in Daylite under Settings → Developer.

Path Parameters

id*string
Formatuuid

Response Body

The task.

application/json
  1. response
id*string
Formatuuid
title*string
description*string

Free-form notes. May be empty.

project_id*|

null for Inbox.

Formatuuid
section_id*|
Formatuuid
parent_id*|
Formatuuid
priority*|

p1 is the most urgent. null means no priority.

Value in"p1""p2""p3"null
due*|null
reminder*boolean

Whether a notification fires at the due time.

position*integer

Manual order. Lower comes first.

completed*boolean
completed_at*|
Formatdate-time
created_at*string
Formatdate-time
revision*integer

Server revision of this version. It increases with every change to the object.

Example Request
curl -X GET 'https://api.daylite.me/v1/tasks/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "title": "string",  "description": "string",  "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",  "section_id": "f5e5c4dc-7d2e-40f1-a895-9bb2f8703fd8",  "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",  "priority": "p1",  "due": {    "date": "string",    "time": "string",    "timezone": "string",    "recurrence": "daily"  },  "reminder": true,  "position": 0,  "completed": true,  "completed_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "revision": 0}