Skip to main content
POST
Create a new task

Authorizations

x-api-key
string
header
required

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

Body

application/json
text
string
required

Task text

Minimum string length: 1
date
string<date>
required

YYYY-MM-DD

dueTime
number

Due time as Unix timestamp in ms

priority
enum<string>
Available options:
high,
medium,
low
isCompleted
boolean

Set to true to log a completed activity. Defaults to false for planned tasks.

timeSpent
number

Time spent in minutes

details
string

Additional details

Response

Task created

_id
string