Scrub API
POST/v1/tools/save_taskfree

Save a task

Saves a task, free, about a person (pe_…), a company (co_…) or a deal (de_…). A new task needs its title, what it is; give task (ta_…) to change one, and only the fields given change. due is a day, YYYY-MM-DD, or empty for none; done ticks it or unticks it.

Fields

FieldTypeDefaultWhat it is
taskstringNoneIts id, ta_…, to change it
titlestringNoneWhat it is
duestringNoneYYYY-MM-DD; empty for none
donebooleanNone
aboutstringNoneThe record's id: pe_…, co_… or de_…

Call it

Request

curl -X POST https://app.scrub.app/v1/tools/save_task \
  -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.