Skip to main content
Space Actions2026.8.0

Create new Space

Creates a Space and an initial membership for the authenticated user. Name must be 3–80 characters without URL-forming punctuation. Slug must be 4–50 chars (lowercase letters, numbers, hyphens). `type` must be `personal` or `business`.

POST/api/v1/spaces

The source export uses a local development server. Examples use the configured Dashio API origin.

The export references authentication schemes without supplying their definitions.

Authentication

bearerAuth

Understand authentication

Path parameters

None declared in this export.

Query parameters

None declared in this export.

Header parameters

None declared in this export.

Request body

application/json · Required

userIdstring (uuid)Required

Authenticated user ID (must match token subject).

userFirstNamestringRequired

No field description supplied.

userLastNamestringRequired

No field description supplied.

userEmailstring (email)Required

No field description supplied.

namestringOptional

Space name, 3–80 characters without URL-forming punctuation.

slugstringOptional

Space slug, 4–50 chars; lowercase letters, numbers, hyphens.

countrystringOptional

Optional ISO-3166-1 alpha-2 code (e.g., DE, US).

contact_emailstring (email)Optional

Overrides contact email; defaults to userEmail.

typestringOptional

Allowed values: "personal", "business".

business_namestringOptional

Required if `type` is `business`; 5–100 chars.

Responses

200

Space created.

successbooleanOptional

No field description supplied.

spaceSlugstringOptional

No field description supplied.

spaceIdstring (uuid)Optional

No field description supplied.

400

Validation error (name, slug, email, etc.).

No response body schema supplied.

401

Unauthenticated.

No response body schema supplied.

403

Forbidden – userId mismatch.

No response body schema supplied.

409

Slug already in use.

No response body schema supplied.

500

Server error while creating Space or membership.

No response body schema supplied.

Was this helpful?