Kinabase Logo
Endpoints

Tasks

Base URL: https://app.kinabase.com/api/v1/


get

tasks

Gets a paginated list of tasks.

Parameters

NameLocationTypeDescription
assignee querystringOnly tasks assigned to this colleague (a colleague Id from /colleagues)
status querystringOnly tasks with one of these statuses: NOT_STARTED, IN_PROGRESS or COMPLETED, separated by commas, or "open" for NOT_STARTED and IN_PROGRESS together. All statuses when omitted.
collectionId querystringOnly tasks of records in this collection (Collection ID or Slug)
recordId querystringOnly tasks of this record (Record ID). Requires collectionId.
dueBefore querystringOnly tasks due before this time (ISO8601 format)
dueAfter querystringOnly tasks due at or after this time (ISO8601 format)
completedAfter querystringOnly tasks completed at or after this time (ISO8601 format)
updatedAfter querystringOnly tasks updated at or after this time (ISO8601 format)
search querystringOnly tasks whose name, description or record name matches this text. Search for a word or the start of one: text from the middle of a word, or several words that do not appear together, is not always found. A record name the token may not read is not searched.
sort querystringdueDate (default: soonest due first, undated last), -completedAt (most recently completed first) or updatedAt (least recently updated first)
pageIndex queryintegerPage index to return, starting at 0
pageSize queryintegerNumber of tasks to return (default: 10, min: 1, max: 300)

Response

StatusDescriptionContent
200OK
400Bad Request
401Unauthorized
404Not Found

post

tasks

Adds a new task to a record.

Request Body

Task to add

Example request (application/json):
{
  "collectionId": "example-collectionId",
  "recordId": "example-recordId",
  "name": "example-name",
  "description": null,
  "dueDate": null,
  "scheduled": null,
  "assignees": null
}
* Request body is required

Response

StatusDescriptionContent
200OK
400Bad Request
401Unauthorized
404Not Found

get

tasks/{taskId}

Gets a single task.

Parameters

NameLocationTypeDescription
taskId *pathstringTask ID

Response

StatusDescriptionContent
200OK
401Unauthorized
404Not Found

patch

tasks/{taskId}

Updates a task: its name, description, status, due date, scheduled time slot and assignees.

Parameters

NameLocationTypeDescription
taskId *pathstringTask ID to update

Request Body

The properties to change

Example request (application/json):
{
  "name": null,
  "status": null,
  "description": null,
  "dueDate": null,
  "scheduled": null,
  "assignees": null
}
* Request body is required

Response

StatusDescriptionContent
200OK
400Bad Request
401Unauthorized
404Not Found