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

## Changes

> 25 revisions in range; 2 could not be searched.

- **2026-05-06** `e832ef1d24dc` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hexclave/apis/hexclave-rest-api-3/changes/team-invitations/:id/accept/post.md)

---

[API](https://skmtc.dev/hexclave/apis/hexclave-rest-api-3.md) · [All operations](https://skmtc.dev/hexclave/apis/hexclave-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hexclave/hexclave-rest-api-3/revisions/3ced76bb7fd8/schema)
