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

> 24 revisions in range; 4 could not be searched.

- **2026-05-06** `9025167b1683` — 1 info
  - endpoint added

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

---

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