Skip to content
Get an API key

POST /spaces

Updated 16 Sep 20262 min read
POST/spacesTry it
Basehttps://api.mockflow.com/v1Scopesboards:write

Basic accounts have one space; the cap answers 402.

Authorization

Authorizationstringheaderrequired

Bearer <key>. The key needs boards:write scope. Create and manage keys in the developer console; what each scope unlocks is on the scopes page.

Body

application/json
namestringrequired

Response

201 · application/json
idstring

A space id, or the reserved default and trash.

namestring
builtInboolean
roleenum<string>

The product's roles. Owner is the workspace that holds the board or space and cannot be granted or transferred. Admin can rename and share, editor can edit, reviewer can view, export and add comment items. There is no viewer role and no pending state. One of owner, admin, editor or reviewer.

boardCountinteger
memberCountinteger
coverUrlstring | null
publicUrlstring | null
positioninteger

Dashboard order, lowest first.

createdBystring | null
createdAtstring | null
updatedAtstring | null
deletedAtstring | null

Errors

402plan_limit

The workspace plan does not allow this, or AI credits are exhausted.

429rate_limited

Too many requests.

Was this page helpful?

Sign in to MockFlow

The same account you use in the app and on the API.

Forgot your password?
or
Continue with GoogleContinue with Microsoft