Skip to main content
POST
/
v1
/
workspaces
Create a workspace
curl --request POST \
  --url https://api.erna.ai/v1/workspaces \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "workspaceId": "<string>",
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

OAuth2 access token or API key

Body

application/json
name
string
required

Human-readable workspace name.

Required string length: 1 - 255

Response

Workspace created

workspaceId
string
required
name
string
required