Developer Documentation
Endpoints
Tasks
Base URL: https://app.kinabase.com/api/v1/
get
tasks
Gets a paginated list of tasks.Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| assignee | query | string | Only tasks assigned to this colleague (a colleague Id from /colleagues) |
| status | query | string | Only 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 | query | string | Only tasks of records in this collection (Collection ID or Slug) |
| recordId | query | string | Only tasks of this record (Record ID). Requires collectionId. |
| dueBefore | query | string | Only tasks due before this time (ISO8601 format) |
| dueAfter | query | string | Only tasks due at or after this time (ISO8601 format) |
| completedAfter | query | string | Only tasks completed at or after this time (ISO8601 format) |
| updatedAfter | query | string | Only tasks updated at or after this time (ISO8601 format) |
| search | query | string | Only 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 | query | string | dueDate (default: soonest due first, undated last), -completedAt (most recently completed first) or updatedAt (least recently updated first) |
| pageIndex | query | integer | Page index to return, starting at 0 |
| pageSize | query | integer | Number of tasks to return (default: 10, min: 1, max: 300) |
Response
| Status | Description | Content |
|---|---|---|
| 200 | OK | |
| 400 | Bad Request | |
| 401 | Unauthorized | |
| 404 | Not 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
get
patch
tasks/{taskId}
Updates a task: its name, description, status, due date, scheduled time slot and assignees.Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| taskId * | path | string | Task 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