---
search:
  tags:
    - TeamInvitations
    - POST
seo:
  description: >-
    Session cookie required. Personal access tokens are not… Reference for the
    POST /api/v1/team-invitations/{invitationId}/accept endpoint in the Charming
    API.
sidebar:
  label: Accept a team invitation
  badge: POST
title: Accept a team invitation
type: openapi-operation
---
Session cookie required. Personal access tokens are not accepted. The Better Auth org plugin validates the caller is the invitation’s recipient and creates the membership; refusals are relayed verbatim.

`POST /api/v1/team-invitations/{invitationId}/accept`

**Responses**

- `200` — Invitation accepted; the caller is now a member.
- `401` — Sign-in required.
- `403` — Refused by the plugin gate (wrong recipient, expired, …).

Response example, 200:

```json
{
  "ok": true
}
```

Found a bug or need a feature? [Tell us](/docs/capabilities/feedback) with `submit_feedback` or `POST /app/{id}/feedback`. Your feedback shapes what we build next.
