Skip to main content
POST
Create a workspace

Authorizations

Authorization
string
header
required

Bearer token authentication

Headers

x-client-id
string<cuid>
required

The ID of the client

Example:

"cmf41ajzv003706un4i99q19z"

Body

application/json

Workspace create

name
string
required

The name of the workspace

Example:

"FiBu"

Response

Workspace created successfully

id
string<cuid>
required

The ID of the workspace

Example:

"cmf41ajzv003706un4i99q19z"

name
string
required

The name of the workspace

Example:

"FiBu"

createdAt
string<date-time>
required

The date and time of the creation for the workspace. ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ).

Example:

"2021-01-01T00:00:00Z"

updatedAt
string<date-time>
required

The date and time of the last update for the workspace. ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ).

Example:

"2021-01-01T00:00:00Z"

archivedAt
string<date-time> | null
required

The date and time the workspace was archived. ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ).

Example:

"2021-01-01T00:00:00Z"

clientId
string<cuid>
required

The ID of the client

Example:

"cmf41ajzv003706un4i99q19z"