Skip to main content
POST
Create a workspace
This endpoint requires a management API key. Standard Gateway API keys are not accepted.
Creates a workspace under the authenticated owner and returns the new workspace record.

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
name
string
required
Required string length: 1 - 100
Example:

"Production"

slug
string
Required string length: 1 - 50
Pattern: ^[a-z0-9-]+$
Example:

"production"

Response

Workspace created

data
object
required
Last modified on July 26, 2026