Scrub API
POST/v1/tools/download_everythingfree

Download everything

Every file in this workspace, uploads and results, in one zip, on a link that works for an hour. Free. A large workspace takes a minute or more: while it is being made the answer says so, and asking again gives the link once it is ready. Drafts, flows and chats are not files and are not in it.

Fields

No fields: send {}.

Call it

Request

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