Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

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

Query Parameters

properties
enum<string>[]

Select the workspace properties that should be returned

Available options:
accountId,
name,
workspaceUrl,
templateId,
startDate,
targetEndDate,
actualEndDate,
projectAge,
taskProgress,
lastContactView,
totalViews,
totalActions,
totalTimeSpent,
contactsCount,
account.name,
account.website,
account.ownerId,
account.logo,
account.salesforceAccountId,
account.hubspotCompanyId,
account.createdAt,
account.updatedAt,
customFields.name,
customFields.type,
customFields.variableName,
customFields.value,
workspaceDomains.domain,
workspaceDomains.role,
workspaceDomains.createdAt,
workspaceDomains.updatedAt,
workspaceUsers.role,
workspaceUsers.createdAt,
workspaceUsers.updatedAt,
workspaceUsers.user.firstName,
workspaceUsers.user.lastName,
workspaceUsers.user.avatar,
workspaceUsers.user.email,
workspaceUsers.user.name,
workspaceUsers.user.createdAt,
workspaceUsers.user.updatedAt,
deal.name,
deal.amount,
deal.closeDate,
deal.createdDate,
deal.type,
deal.stage,
deal.hubspotDealId,
deal.salesforceOpportunityId

Body

application/json
templateId
string

ID of the template to use for the workspace

Example:

"1234567890"

hubspotCompanyId
string

ID of the HubSpot company to use for the workspace

Example:

"1234567890"

hubspotDealId
string

ID of the HubSpot deal to use for the workspace

Example:

"1234567890"

salesforceAccountId
string

ID of the Salesforce account to use for the workspace

Example:

"1234567890"

salesforceOpportunityId
string

ID of the Salesforce opportunity to use for the workspace

Example:

"1234567890"

accountId
string

ID of the account to use for the workspace

Example:

"1234567890"

shareSetting
enum<string>

Share setting for the workspace

Available options:
landingPage,
withLink,
restricted
Example:

"landingPage"

notifyPeople
boolean
default:false

Notify people for the workspace

workspaceUsers
object[]

Users to access the workspace

workspaceDomains
object[]

Domains to access the workspace

name
string

Name of the workspace

Example:

"My Workspace"

autoPublishWorkspace
boolean
default:false

Auto publish workspace

googleVerificationEnabled
boolean
default:false

Google verification enabled

microsoftVerificationEnabled
boolean
default:false

Microsoft verification enabled

Magic link verification enabled

welcomePageCta
string
default:View Workspace

Welcome page CTA

welcomePageText
string

Welcome page text

startDate
string<date> | null

The start date of the workspace in YYYY-MM-DD format, or null to remove the date

Example:

"2025-06-15"

actualEndDate
string<date> | null

The actual end date of the workspace in YYYY-MM-DD format, or null to remove the date

Example:

"2025-09-30"

targetEndDate
string<date> | null

The target end date of the workspace in YYYY-MM-DD format, or null to remove the date

Example:

"2025-08-31"

Response

Workspace created

data
object