🏢 Workspaces

Create a workspace

Creates a new workspace owned by the authenticated user. Subject to the plan's workspace limit.

post/api/v1/workspaces

Request body

namestring required
logostring url required
timezonestring required
super_admin_idstring nullable

Account owner to create the workspace under. Optional when you are the account owner or are linked to exactly one super admin; required when you manage multiple super admins.

notestring nullable
instagram_posting_method'api' | 'mobile'

Example request

{
  "name": "Acme Marketing",
  "logo": "https://logo.clearbit.com/contentstudio.io",
  "timezone": "Asia/Karachi",
  "super_admin_id": "610a1d92b11ba161ce1cd372",
  "note": "Client workspace",
  "instagram_posting_method": "api",
  "first_day": {
    "day": "Monday",
    "key": 1
  }
}

Response

Workspace created successfully

statusboolean
messagestring
dataobject

Example response

{
  "status": true,
  "message": "Workspace created successfully. Use the returned `id` as `workspace_id` in subsequent requests."
}

Changes