---
title: "Add member to team"
method: POST
path: "/orgs/{org_id}/teams/{team_id}/members"
tags: ["Orgs"]
---

# Add member to team

`POST /orgs/{org_id}/teams/{team_id}/members`

## Request

- Base URL: `https://api.distill.io/v2`
- URL: `https://api.distill.io/v2/orgs/{org_id}/teams/{team_id}/members`
- Auth: one of:
  - API key in cookie `connect.sid`
  - HTTP bearer
  - API key in query parameter `api_key`

Auth: Enterprise+Admin — Enterprise plan account with admin role on the workspace.

## Path parameters

- `org_id` string, uuid, required
- `team_id` string, uuid, required

## Request body

- object
  - `user_id` string, uuid, required

## Response `200`

Success

- object
  - `message` string, required

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/distill/apis/distill-io-api-v2.md) - [All operations](https://skmtc.dev/distill/apis/distill-io-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/distill/apis/distill-io-api-v2/revisions/c55722ccfe14?raw)
