POST
/
v1
/
workspaces
curl --request POST \
  --url https://app.typebot.io/api/v1/workspaces \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "icon": "<string>",
  "name": "<string>"
}'
{
  "workspace": {
    "id": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "name": "<string>",
    "icon": "<string>",
    "plan": "FREE",
    "stripeId": "<string>",
    "settings": {
      "groupTitlesAutoGeneration": {
        "isEnabled": true,
        "provider": "<string>",
        "credentialsId": "<string>",
        "model": "<string>",
        "prompt": "<string>"
      }
    },
    "isSuspended": true,
    "isPastDue": true,
    "isVerified": true,
    "chatsHardLimit": 123,
    "lastActivityAt": "<string>",
    "inactiveFirstEmailSentAt": "<string>",
    "inactiveSecondEmailSentAt": "<string>"
  }
}

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
icon
string

Response

200
application/json
Successful response
workspace
object
required