Scrub API
POST/v1/tools/list_peoplefree

List people

The people in this workspace's CRM, free: each with its id (pe_…), name, email, phone, job title, company (co_…) and its name, type (customer, lead, partner, supplier, investor or team), notes and who added them. Narrow by words in a name, email, job title or company, by type, or by a company's id.

Fields

FieldTypeDefaultWhat it is
searchstringNoneWords in a name, email, job title or company
typeone ofNone
customerleadpartnersupplierinvestorteam
companystringNoneA company's id, co_…

Call it

Request

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