Preview. This site is still being built. Features, prices and terms may change, and nothing here is a binding offer. Read the preview notice

Preview. Still being built; nothing here is a binding offer. Details

Tasks

6 routes. Paths are relative to https://api.intersink.com/v1.

All groups

List the signed-in user's tasks (filter/search)

GET/tasks

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
statusstring, queryOne of: "open", "done", "all".
duestring, queryOne of: "overdue", "today", "upcoming", "none".
qstring, queryAt most 200 characters.
pagenumber, queryMinimum 1.
limitnumber, queryMinimum 1.
sortstring, queryOne of: "due_date", "created_at", "priority".

Response

200. The payload in data is not described in the spec yet.

Create a task

POST/tasks

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
titlerequiredstringAt most 200 characters.
notesstringAt most 2000 characters.
due_datestring
prioritystringOne of: "high", "medium", "low".
business_idstring

Response

201. The payload in data is not described in the spec yet.

Get a single task

GET/tasks/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequirednumber, path

Response

200. The payload in data is not described in the spec yet.

Edit a task / tick it off / un-tick it

PATCH/tasks/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequirednumber, path

Request body application/json

FieldTypeDescription
titlestringAt most 200 characters.
notesstringAt most 2000 characters.
due_datestring
prioritystringOne of: "high", "medium", "low".
business_idstring
doneboolean

Response

200. The payload in data is not described in the spec yet.

Delete a task (returns the deleted task for Undo)

DELETE/tasks/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequirednumber, path

Response

200. The payload in data is not described in the spec yet.

Task counts for the tiles and sidebar badge

GET/tasks/summary

Needs a signed-in user (Bearer token or access_token cookie).

Response

200. The payload in data is not described in the spec yet.