---
title: "Accept Invitation"
method: POST
path: "/invitations/{invitation_id}/accept"
tags: ["team-invitations"]
---

# Accept Invitation

`POST /invitations/{invitation_id}/accept`

Accept a team invitation.

Validates the invitation belongs to the user's email.

Payment is intentionally NOT enforced (``enforce_payment=False``):
accepting an invite consumes no credits and is the canonical path for a
user on the unpaid ``free`` plan to join a paid team. Gating it behind the
billing check blocked free-plan invitees from ever joining (min_plan must
be ``free`` for this route — see ``docs/endpoint-access-matrix.md``).

## Path parameters

- `invitation_id` string, required

## Response `200`

Successful Response

- InvitationActionResponse — Response model for accepting or declining an invitation.
  - `success` boolean, required
  - `message` string, required
  - `invitation_id` string, required
  - `team_id` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pioneer/apis/brain-api.md) · [All operations](https://skmtc.net/pioneer/apis/brain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pioneer/brain-api/revisions/31dfe831e079/schema)
