Workspace
Create a workspace
Workspace
Create a workspace
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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
Successful response
Available options:
FREE
, STARTER
, PRO
, LIFETIME
, OFFERED
, CUSTOM
, UNLIMITED
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>"
}
}