Tasks

Create a new task in the workspace.

post/v1/tasks

Request

  • Base URL
    https://api.folk.app
  • URL
    https://api.folk.app/v1/tasks
  • Auth
    HTTP bearer

Headers

Idempotency-Keystring

A unique key, such as a UUID, that makes retrying this request safe: a retry with the same key and body returns the original response without running the operation again. Keys are kept for 24 hours after the request completes.

Example:8e03978e-40d5-43e8-bc93-6894a57f9324

Request body

titlestring required

The title of the task.

dueAtstring date required

The due date of the task, in YYYY-MM-DD format.

dueTimestring nullable

The due time of the task, in HH:mm format.

descriptionstring

The description of the task, in markdown format.

recurrenceFrequency'weekday' | 'weekly' | 'biweekly' | 'monthly' | 'quarterly' | 'yearly' | 'null' nullable

The recurrence frequency of the task. One of: weekday, weekly, biweekly, monthly, quarterly, yearly. Null if non-recurring.

completedAtstring date-time nullable

The date and time the task was completed, or null if not yet completed.

isPublicboolean

Whether the task is visible to all workspace members (true) or only to its assigned users (false).

Example request

{
  "entity": {
    "id": "per_55175e81-9a52-4ac3-930e-82792c23499b"
  },
  "title": "Follow up with John Doe",
  "dueAt": "2025-07-17",
  "dueTime": "15:00",
  "description": "Discuss the Q3 proposal.",
  "completedAt": "2025-07-17T09:00:00.000Z",
  "isPublic": true
}

Response

The task created in the workspace.

deprecationsstring[]

Example response

{
  "data": {
    "id": "tsk_91118b73-5a75-480b-b8e3-a33671c35cdc",
    "title": "Follow up with John Doe",
    "description": "Discuss the Q3 proposal.",
    "entity": {
      "id": "per_55175e81-9a52-4ac3-930e-82792c23499b",
      "entityType": "person",
      "fullName": "John Doe"
    },
    "dueAt": "2025-07-17",
    "dueTime": "15:00",
    "completedAt": null,
    "recurrenceFrequency": null,
    "isPublic": true,
    "assignedUsers": [
      {
        "id": "usr_14c18444-a0c7-459a-86b0-ccd70ebcd65c",
        "fullName": "John Doe",
        "email": "john.doe@example.com"
      }
    ],
    "createdBy": {
      "id": "usr_14c18444-a0c7-459a-86b0-ccd70ebcd65c",
      "fullName": "John Doe",
      "email": "john.doe@example.com"
    },
    "createdAt": "2025-07-17T09:00:00.000Z",
    "updatedAt": "2025-07-17T09:00:00.000Z"
  },
  "deprecations": [
    "This field is deprecated"
  ]
}

Changes