Skip to main content
POST
/
v2
/
workspaces
Create a new workspace
curl --request POST \
  --url https://api.topograph.co/v2/workspaces \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "paris-office",
  "legalName": "Acme Paris SAS"
}
'
{
  "id": "<string>",
  "name": "paris-office",
  "legalName": "Acme Paris SAS",
  "isDefault": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

Body

application/json
name
string
required

Workspace name (alphanumeric, hyphens, underscores, max 64 chars). Cannot be 'default'.

Example:

"paris-office"

Legal entity name for this workspace

Example:

"Acme Paris SAS"

Response

Workspace created successfully

id
string
required

Unique workspace identifier

name
string
required

Workspace name (alphanumeric, hyphens, underscores, max 64 chars)

Example:

"paris-office"

Legal entity name associated with this workspace

Example:

"Acme Paris SAS"

isDefault
boolean
required

Whether this is the default workspace for the account

createdAt
string<date-time>
updatedAt
string<date-time>