cURL
curl --request POST \ --url https://api.trillet.ai/v1/api/workspaces \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "initials": "<string>" }'
{ "_id": "<string>", "name": "<string>", "userId": "<string>", "initials": "<string>", "pricingTier": "<string>", "isMasterWorkspace": true, "teamMembers": [ {} ], "createdAt": "<string>", "updatedAt": "<string>" }
Create a new workspace with the authenticated user as the owner.