POST
/
workspace
/
create
curl --request POST \
  --url https://api.callab.ai/v1/workspace/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "workspace_name": "<string>"
}'
{
  "status": "<string>",
  "message": "<string>",
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "workspace_slug": "<string>",
    "workspace_name": "<string>",
    "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "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

Workspace creation data

Data required to create a new workspace.

Response

200
application/json

Workspace created successfully or error if name exists.

The response is of type object.