cURL
curl --request POST \ --url https://app.formbricks.com/api/v2/organizations/{organizationId}/teams \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "name": "My team" }'
{ "id": "<string>", "createdAt": "2021-01-01T00:00:00.000Z", "updatedAt": "2021-01-01T00:00:00.000Z", "name": "My team", "organizationId": "<string>" }
Creates a team in the database.
Use your Formbricks x-api-key to authenticate.
The ID of the organization
The team to create
The body is of type object.
object
Team created successfully.
The response is of type object.
Was this page helpful?