Workspace
Create a workspace
Workspace
Create a workspace
POST
/
v1
/
workspaces
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
object
*
icon
string
icon
string
name
string
*
name
Required
string
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>",
"isSuspended": true,
"isPastDue": true,
"isVerified": true
}
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
icon
string
name
string
requiredResponse
200 - application/json
workspace
object
requiredworkspace.id
string
requiredworkspace.createdAt
string
requiredworkspace.updatedAt
string
requiredworkspace.name
string
requiredworkspace.icon
string | null
requiredworkspace.plan
enum<string>
requiredAvailable options:
FREE
, STARTER
, PRO
, LIFETIME
, OFFERED
, CUSTOM
, UNLIMITED
workspace.stripeId
string | null
requiredworkspace.isSuspended
boolean
requiredworkspace.isPastDue
boolean
requiredworkspace.isVerified
boolean | null
requiredcurl --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>",
"isSuspended": true,
"isPastDue": true,
"isVerified": true
}
}