POST
/
workspaces
curl --request POST \
  --url https://api.tally.so/workspaces \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "members": [
    {
      "id": "<string>",
      "firstName": "<string>",
      "lastName": "<string>",
      "fullName": "<string>",
      "email": "<string>",
      "avatarUrl": "<string>",
      "organizationId": "<string>",
      "isDeleted": true,
      "hasTwoFactorEnabled": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "subscriptionPlan": "FREE"
    }
  ],
  "invites": [
    {
      "id": "<string>",
      "email": "<string>",
      "workspaceIds": [
        "<string>"
      ]
    }
  ],
  "createdByUserId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

The name of the workspace

Response

201
application/json
Workspace created successfully
id
string
required
name
string
required
members
object[]
required
invites
object[]
required
createdByUserId
string
required
createdAt
string
required
updatedAt
string
required