POST
/v1/tools/export_setupfreeExport a setup
Exports this workspace's Brand Kits and Flows as one setup file, free, for another workspace to import with import_setup: a consultant's setup handed to a client, or a client's sent back. Give kits (kit_…) and flows (flow_…) to choose; give neither for every kit and Flow. The file holds each kit's name and parts with its logo inside, and each Flow's title, steps and layout; never who made them, their ids, or this workspace's files or work. A Flow that names a file of this workspace stays here, and says so. Gives a download link that lasts an hour.
Fields
| Field | Type | Default | What it is |
|---|---|---|---|
kits | array | None | Brand Kits, kit_… |
flows | array | None | Flows, flow_… |
Call it
Request
curl -X POST https://app.scrub.app/v1/tools/export_setup \
-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.