Organization
Creates a workspace inside the connected organization.
Optionally grant it sender seats from the organization pool with
seatAllocation. Requires the connected workspace to be an organization
(otherwise 403).
Authorization
bearerAuth AuthorizationBearer <token>
An API key created under Settings → API & Webhooks.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/workspaces" \ -H "Content-Type: application/json" \ -d '{ "name": "Acme Inc.", "seatAllocation": 2 }'{ "data": { "id": "string", "name": "string", "avatar": "string", "seatAllocation": 0, "sendersUsed": 0, "ownerId": "string", "members": [ { "id": "string", "email": "string", "username": "string", "role": "owner" } ], "orgMembers": [ { "id": "string", "email": "string", "username": "string" } ], "invites": [ { "identifier": "string", "role": "admin", "createdAt": "2019-08-24T14:15:22Z" } ] }}