v1

latestOpenAPI 3.0.02026-08-063524105.9 KB
Workspaces

Create workspace

Create a new workspace within the account. Requires account-scoped API key (workspace-scoped keys cannot create workspaces).

post/v1/workspaces

Request body

namestring required

Workspace name (required)

descriptionstring

Optional workspace description

timezonestring

Workspace timezone (IANA format). Defaults to UTC.

contactEmailstring email

Contact email for workspace

contactPhonestring

Contact phone for workspace

Example request

{
  "name": "My New Workspace",
  "description": "Workspace for Q1 campaigns",
  "timezone": "America/Los_Angeles",
  "contactEmail": "admin@example.com",
  "contactPhone": "+1987654321"
}

Response

Workspace created successfully

idstring uuid required

Unique workspace identifier

accountIdstring uuid required

Account ID that owns this workspace

namestring required

Workspace name

descriptionstring nullable required

Optional workspace description

timezonestring required

Workspace timezone (IANA format)

contactEmailstring email nullable required

Contact email for workspace

contactPhonestring nullable required

Contact phone for workspace

createdAtstring date-time required

Workspace creation timestamp

updatedAtstring date-time required

Workspace last update timestamp

Example response

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "accountId": "789e4567-e89b-12d3-a456-426614174000",
  "name": "My Workspace",
  "description": "Main workspace for customer campaigns",
  "timezone": "America/New_York",
  "contactEmail": "contact@example.com",
  "contactPhone": "+1234567890",
  "createdAt": "2025-12-11T12:00:00Z",
  "updatedAt": "2025-12-11T12:00:00Z"
}