SnozeDevelopers
API referenceWorkspaces

Seed a workspace from a starter template

Seeds the workspace with the databases, records, views, and pages of the named onboarding starter template, and records the onboarding analytics events around it. The seeding runs as the caller, so it requires `databases:write` and `surfaces:write` in the workspace. It is not idempotent: applying a starter twice creates the content twice.

POST
/v1/workspaces/{workspaceId}/starter

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

Path Parameters

workspaceId*string

Request Body

application/json
  1. body
operationId?|null
template*string
Value in"team""product""client""explore"

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X POST 'https://api.snoze.dev/v1/workspaces/string/starter' \  -H 'Content-Type: application/json' \  -d '{  "template": "team"}'
Example Response
{  "data": {    "template": "team",    "itemIds": [      "string"    ],    "folderItemIds": [      "string"    ]  }}