> ## Documentation Index
> Fetch the complete documentation index at: https://formbnb.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Teams

> Collaborate with your team on forms

Teams let you share forms and collaborate with colleagues.

<Note>
  Teams are available on Pro and Business plans.
</Note>

## Create a Team

1. Go to Dashboard → Teams
2. Click "Create Team"
3. Enter a team name

## Invite Members

1. Go to your team settings
2. Click "Invite Member"
3. Enter their email address
4. Select their role

They'll receive an email invitation to join.

## Roles

| Role       | Permissions                                      |
| ---------- | ------------------------------------------------ |
| **Owner**  | Full access, can delete team, manage billing     |
| **Admin**  | Manage members, create/edit/delete forms         |
| **Member** | View forms and submissions, cannot edit settings |

## Team Forms

Forms can be assigned to a team:

1. Create a new form or edit existing
2. Select the team in form settings
3. All team members can now access the form

## Transferring Forms

To move a form to a team:

1. Go to form settings
2. Under "Team", select the team
3. Save changes

To remove from team (owner only):

1. Go to form settings
2. Set "Team" to "Personal"
3. Save changes

## Leaving a Team

1. Go to team settings
2. Click "Leave Team"
3. Confirm

<Warning>
  If you're the owner, you must transfer ownership before leaving.
</Warning>

## Deleting a Team

Only the owner can delete a team:

1. Go to team settings
2. Click "Delete Team"
3. Confirm deletion

<Warning>
  Deleting a team removes all team members' access to team forms. Forms are transferred to the owner's personal account.
</Warning>

## API Access

Team members can use their personal API keys to access team forms. The API automatically includes forms from teams you belong to.

```bash theme={null}
curl https://api.formbnb.com/forms \
  -H "Authorization: Bearer YOUR_API_KEY"
```

Response includes both personal and team forms:

```json theme={null}
{
  "forms": [
    { "id": "...", "name": "Personal Form", "teamId": null },
    { "id": "...", "name": "Team Form", "teamId": "team_abc123" }
  ]
}
```
