Scrub API
POST/v1/tools/list_tasksfree

List tasks

The tasks in this workspace, free: each with its id (ta_…), what it is, the day it is due, whether it is done, and the record it is about (a person pe_…, a company co_… or a deal de_…). Give a record's id for only the tasks about it.

Fields

FieldTypeDefaultWhat it is
aboutstringNoneA record's id: pe_…, co_… or de_…

Call it

Request

curl -X POST https://app.scrub.app/v1/tools/list_tasks \
  -H "Authorization: Bearer $SCRUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Answer

{
  "ok": true,
  "result": {
    "…": "…"
  }
}

What result holds is said above.

Every call can also answer an error: what comes back. Try it with your key from Account.