Skip to main content
POST
Create a workspace
Needs workspaces:create. See Permissions.
Makes a workspace owned by the key’s user, as Create workspace in the app does. Send its name and timezone, an IANA name like Europe/London; language is optional and en without it. An older time zone name, like Asia/Calcutta, is saved as the current one, Asia/Kolkata. The new workspace starts with the posting times and settings every new workspace gets. Change them with Update workspace settings, and connect its accounts with Create a connect link. The answer is the workspace as List workspaces gives it; send its id as workspace_id to other routes. The plan’s number of workspaces holds, as in the app: Free includes one workspace of your own. Workspaces you were invited to don’t count. Past the number, nothing is made and the answer is 403 with error: plan_limit_reached and limit: workspaces. On the older plans that bill each extra workspace, a workspace past the plan’s included ones is refused with 403, and nothing is made: make that one in the PostSyncer app, under Settings → Workspace. On the plans sold now every workspace is included.

Errors

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

The workspace's name. Spaces at either end are dropped.

Maximum string length: 255
timezone
string
required

An IANA time zone, like Europe/London. Post times are in it. An older name (Asia/Calcutta) is saved as the current one (Asia/Kolkata).

language
string

The workspace's language, like en. Without it, en.

Maximum string length: 255

Response

The new workspace.

A workspace the key can reach.

id
integer
required

The workspace's id. Other routes take it as workspace_id.

owner_id
integer
required

The id of the user who owns the workspace. Their plan sets the workspace's limits.

name
string
required
type
enum<string>
required

What the workspace is for, as picked when it was made.

Available options:
PERSONAL,
TEAM,
ORGANIZATION,
CLIENT,
PROJECT,
DEPARTMENT,
EVENT,
TEMPORARY,
COMMUNITY,
BRAND,
AGENCY

The logo, or an avatar made from the name when there is none.

timezone
string
required

The workspace's time zone, an IANA name like Europe/London. Post times are in it.

queue_slot
required

The posting queue's times, keyed by the 24-hour time. days has 7 entries, Monday first: true when the time is used that day. A workspace with no queue times has [], an empty list, not an object.

is_auto_repost_enabled_by_default
boolean
required

Whether posts made in the PostSyncer app repeat by default, with auto_repost_settings. Posts made through the API or MCP don't take this default: send repeatable and its fields yourself.

auto_repost_settings
object
required

How auto-repost repeats a post. Without settings of its own a workspace has 6 hours and 2 times.

is_auto_plug_enabled_by_default
boolean
required

Whether posts made in the PostSyncer app get the default auto-plug from auto_plug_settings. Posts made through the API or MCP don't take this default: send auto_plug yourself.

auto_plug_settings
object[]
required

The workspace's auto-plugs: a reply posted when a post reaches a number of likes, reposts, replies or views. [] when there are none.

comments_settings
object
required

The comment moderation rules: what to remove, and whether AI replies are on. Each remove_… is true when that kind of comment is removed; the …_list fields hold the topics, mentions, hashtags and keywords to look for.

is_comment_moderation_enabled
boolean
required

Whether comment moderation is on.

credits
integer
required

The AI credits the workspace owner has left. Every member's key sees the owner's credits: AI work in the workspace spends them.

accounts
object[]

Only in List workspaces: the workspace's connected accounts, as List accounts gives them but without boards.

brand_voice
string | null

Only in List workspaces: how the workspace sounds, in one line of up to 200 characters, from its brand. Null when the brand has no voice yet. Get brand has the whole brand.