cURL
basic
curl --request POST \ --url https://app.tryordinal.com/api/v1/company/workspaces \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Acme Corp", "slug": "acme-corp", "timezone": "America/New_York" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "slug": "<string>", "timezone": "<string>", "createdAt": "2023-11-07T05:31:56Z" }
Create a new workspace in the company
Company API key (starts with ord_c_)
1 - 255
1 - 48
IANA timezone identifier for the workspace (e.g., 'America/New_York', 'Europe/London', 'Asia/Tokyo')
"America/New_York"
OK
Was this page helpful?