---
title: "Add team associations to workspace invites"
method: POST
path: "/workspaces/{slug}/teams/{teamId}/invites"
---

# Add team associations to workspace invites

`POST /workspaces/{slug}/teams/{teamId}/invites`

Add a team association to existing workspace invites. The workspace invites must already exist for the specified emails.

## Path parameters

- `slug` string, required
- `teamId` string, required

## Request body

- object
  - `emails` string[], required — Array of email addresses of invited members that should be added to the team. They must already have been invited to the workspace.
  - `role` 'member' | 'manager' — Team role to assign to the invited members.

## Response `default`

Successful

---

[API](https://skmtc.dev/datawrapper/apis/datawrapper-api-v3-documentation.md) · [All operations](https://skmtc.dev/datawrapper/apis/datawrapper-api-v3-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datawrapper/datawrapper-api-v3-documentation/revisions/e190512863c7/schema)
