---
title: "Accept an invitation and create the member account"
method: POST
path: "/v1/team/invites/accept"
tags: ["Team"]
---

# Accept an invitation and create the member account

`POST /v1/team/invites/accept`

## Request

- Base URL: `https://api.briefgate.dev`
- URL: `https://api.briefgate.dev/v1/team/invites/accept`
- Auth: none required

No authentication of any kind — this is how someone with no BriefGate account yet joins one. The token from the invite email is the entire proof of identity; do not call this with an `Authorization` header, it is neither required nor checked. On success the response sets the same session cookie POST /v1/auth/login does — the new member is signed straight into the dashboard.

The token is single-use and the claim is atomic: of two concurrent requests carrying the same token (e.g. a double-clicked submit button), exactly one succeeds. An unknown token, an expired one, and one that was already accepted (by this request or a concurrent one) are deliberately indistinguishable — all three return the identical 401, so this cannot be used to probe which invitations exist or were already claimed.

## Request body

- AcceptTeamInvite
  - `token` string, required
  - `name` string, required
  - `password` string, required

## Response `201`

Member account created; session cookie set

- object
  - `user` object
    - `id` string
    - `email` string, email
    - `name` string
    - `role` 'member'
  - `account` object
    - `id` string
    - `name` string
    - `tier` 'free' | 'solo' | 'studio' | 'agency'

## Other responses

- `400`: The invited email already has a BriefGate account (`invalid_request`) — sign in with that account instead of accepting this invite.
- `401`: The token is unknown, expired, or already accepted — one answer for all three, on purpose (see description).
- `402`: The account's plan does not include this — `plan_required` — or a quota is exhausted
- `422`: Validation error — the body shape is correct but values are invalid

---

[API](https://skmtc.dev/briefgate/apis/briefgate-api.md) · [All operations](https://skmtc.dev/briefgate/apis/briefgate-api/llms.txt) · [OpenAPI document](https://skmtc.dev/briefgate/apis/briefgate-api/revisions/b21afed4748b?raw)
