Skip to main content
POST
/
organizations
/
{organizationId}
/
workspace-teams
Create a Workspace team
curl --request POST \
  --url https://app.formbricks.com/api/v2/organizations/{organizationId}/workspace-teams \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "teamId": "<string>",
  "permission": "read",
  "workspaceId": "<string>",
  "projectId": "<string>"
}
'
{
  "createdAt": "2021-01-01T00:00:00.000Z",
  "updatedAt": "2021-01-01T00:00:00.000Z",
  "workspaceId": "<string>",
  "projectId": "<string>",
  "teamId": "<string>",
  "permission": "read"
}

Documentation Index

Fetch the complete documentation index at: https://formbricks.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Use your Formbricks x-api-key to authenticate.

Path Parameters

organizationId
string
required

The ID of the organization

Body

application/json

The Workspace team to create

teamId
string
required

The ID of the team

permission
enum<string>
required

Level of access granted to the Workspace

Available options:
read,
readWrite,
manage
workspaceId
string

The ID of the Workspace

projectId
string
deprecated

Deprecated alias for workspaceId.

Response

201 - application/json

Workspace team created successfully.

createdAt
string

The date and time the Workspace team was created

Example:

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

updatedAt
string

The date and time the Workspace team was last updated

Example:

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

workspaceId
string

The ID of the Workspace

projectId
string
deprecated

Deprecated alias for workspaceId.

teamId
string

The ID of the team

permission
enum<string>

Level of access granted to the Workspace

Available options:
read,
readWrite,
manage