---
title: "Add one or multiple users to a team within a workspace"
method: POST
path: "/workspaces/{slug}/teams/{teamId}/members"
---

# Add one or multiple users to a team within a workspace

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

Add one or multiple users to a team. The users must already be a member of the workspace, and only users who may administrate the team can add users.

## Path parameters

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

## Request body

- object
  - `userIds` integer[], required — Array of IDs of the users to add to the team.
  - `role` 'manager' | 'member' — Role to assign to the user in the team.

## 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)
