Skip to content
OpenPostDocs
OpenPostDocs
Workspaces

Create a new workspace

POST/workspaces

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/workspaces" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "$schema": "https://example.com/api/v1/schemas/CreateWorkspaceOutputBody.json",  "created_at": "string",  "id": "string",  "name": "string",  "organization_id": "string"}