Skip to main content

TaskDto

idstringrequired
titlestringrequired
descriptionstringnullable
prioritynumbernullable

Possible values: [1, 2, 3, 4]

due objectnullable
datestringrequired
timezonestringnullablerequired
recurrencestringnullablerequired
deadlineDatestringnullable
duration objectnullable
amountnumberrequired
unitstringrequired

Possible values: [minute, day]

relations object[]required
  • Array [
  • typestringrequired

    Possible values: [parent, child, next, previous, related]

    Example: parent
    targetTaskIdstringrequired

    CTM task ObjectId of the related task

    Example: 507f1f77bcf86cd799439011
  • ]
  • fuzzyDeadline objectnullable
    typestringrequired

    Possible values: [this_week, this_month, someday]

    remindEverystringnullablerequired

    Possible values: [daily, weekly]

    reminders object[]required
  • Array [
  • remindAtstringrequired
    firedAtstringnullablerequired

    Set once the notification has been sent.

  • ]
  • dueDateNotifiedAtstringnullablerequired
    completedbooleanrequired
    sourcestringrequired
    sourceIdstringrequired
    externalAccountIdstringnullablerequired
    tagsstring[]required
    locations object[]required
  • Array [
  • namestring

    Possible values: <= 200 characters

    Example: Eiffel Tower
    googleMapsUrlstring<uri>

    Possible values: <= 500 characters

    Example: https://maps.google.com/?q=Eiffel+Tower
  • ]
  • createdAtstringrequired
    updatedAtstringrequired
    TaskDto
    {
    "id": "string",
    "title": "string",
    "description": "string",
    "priority": 1,
    "due": {
    "date": "string",
    "timezone": "string",
    "recurrence": "string"
    },
    "deadlineDate": "string",
    "duration": {
    "amount": 0,
    "unit": "minute"
    },
    "relations": [
    {
    "type": "parent",
    "targetTaskId": "507f1f77bcf86cd799439011"
    }
    ],
    "fuzzyDeadline": {
    "type": "this_week",
    "remindEvery": "daily"
    },
    "reminders": [
    {
    "remindAt": "string",
    "firedAt": "string"
    }
    ],
    "dueDateNotifiedAt": "string",
    "completed": true,
    "source": "string",
    "sourceId": "string",
    "externalAccountId": "string",
    "tags": [
    "string"
    ],
    "locations": [
    {
    "name": "Eiffel Tower",
    "googleMapsUrl": "https://maps.google.com/?q=Eiffel+Tower"
    }
    ],
    "createdAt": "string",
    "updatedAt": "string"
    }