Create workspace
Create a new workspace in the company
POST
/workspacesAuthorization
AuthorizationBearer token · headerrequiredCompany API key (starts with ord_c_)
Request body
requiredapplication/jsonnamestringrequiredmin length 1 · max length 255
slugstringrequiredmin length 1 · max length 48 · matches ^(?=.{1,48}$)[a-z0-9]+(?:-[a-z0-9]+)*$
timezonestringrequiredIANA timezone identifier for the workspace (e.g., 'America/New_York', 'Europe/London', 'Asia/Tokyo')
userIdsstring<uuid>[]Responses
200
OK
idstring<uuid>requirednamestringrequiredslugstringrequiredtimezonestring | nullrequiredShow propertiesHide properties
Any of:
string
stringnull
nullcreatedAtstring<date-time>required400
Bad Request - Invalid input parameters
codestringmessagestringerrorsobject401
Unauthorized - User is not authenticated
statusnumbermessagestring404
Not Found - Resource does not exist
codestringmessagestring