---
title: "Accept a team invitation by ID"
method: POST
path: "/team-invitations/{id}/accept"
tags: ["Teams"]
---

# Accept a team invitation by ID

`POST /team-invitations/{id}/accept`

Accepts a team invitation for the specified user. The user must have a verified email matching the invitation's recipient email. This marks the invitation as used and adds the user to the team.

## Path parameters

- `id` string, required

## Query parameters

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

## Response `200`

Successful response

- object

---

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