POST
https://release0.com/api
/
v1
/
workspaces
curl --request POST \
  --url https://release0.com/api/v1/workspaces \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "icon": "<string>",
  "slug": "<string>",
  "name": "<string>"
}'
{
  "workspace": {
    "id": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "lastActivityAt": "<string>",
    "name": "<string>",
    "icon": "<string>",
    "slug": "<string>",
    "plan": "HOBBY",
    "stripeId": "<string>",
    "isSuspended": true,
    "isPastDue": true,
    "isVerified": true,
    "billingCycleStart": 123,
    "paymentFailedAt": "<string>",
    "stripeConnectId": "<string>",
    "chatUsage": 123,
    "redeemedCoupons": "<string>",
    "extras": [
      "<string>"
    ],
    "addons": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Successful response

The response is of type object.