---
title: "Add a user to a team"
method: POST
path: "/team-memberships/{team_id}/{user_id}"
tags: ["Teams"]
---

# Add a user to a team

`POST /team-memberships/{team_id}/{user_id}`

## Path parameters

- `team_id` string
- `user_id` string — The ID of the user, or the special value `me` for the currently authenticated user

## Request body

- object

## Response `201`

Successful response

- object
  - `team_id` string, required
  - `user_id` string, required

---

[API](https://skmtc.net/hexclave/apis/hexclave-rest-api-3.md) · [All operations](https://skmtc.net/hexclave/apis/hexclave-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hexclave/hexclave-rest-api-3/versions/690014f63028/schema)
