Skip to Content
Cut.ProDocs
Account: workspace

Create a workspace

Creates a workspace owned by the key's user that this key reaches right away: send X-Workspace-Id with its id to act inside it. Create one per client: its connected accounts, videos and posts never mix with the others'. Credits are not shared between workspaces: a new workspace starts on the free plan with no credits.

Authorization

apiKey
headerX-Api-Key<token>

Request Body

  1. body
name*string

Shown in the cut.pro workspace switcher. Usually your client's name.

Length1 <= length <= 100

Response Body

Response for status 201

application/json
  1. response
id*string

Pass it as X-Workspace-Id to act inside this workspace

name*string
is_personal*boolean

true for the key owner's personal workspace

created_at*string
POST
/workspaces
Example Request
curl -X POST 'https://api.cut.pro/api/v1/workspaces' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Example Response
{  "id": "string",  "name": "string",  "is_personal": true,  "created_at": "string"}