Scrub API
POST/v1/tools/support_conversationfree

Your conversation with Scrub

The person's conversation with the founder of Scrub, newest last, whether the founder is answering now, and how many replies they have not seen. Reading it marks the replies seen, unless peek. Free.

Fields

FieldTypeDefaultWhat it is
peekbooleanNoneOnly look: say how many replies are new and leave them unseen, as a page does to show one is waiting

Call it

Request

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