---
title: "POST /api/invitations/{token}/accept"
method: POST
path: "/api/invitations/{token}/accept"
tags: ["invitations"]
---

# POST /api/invitations/{token}/accept

`POST /api/invitations/{token}/accept`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - API key in cookie `sessionid`
  - none

Accept an invitation. Logged in: join as yourself. Not logged in: give a
name and a password to create an account with the invited address, join,
and be logged in. If the address already has an account, log in first.

## Path parameters

- `token` string, required

## Request body

- AcceptInvitationRequest: Empty when logged in. Without a session: the new account's details.
  - `email` string, email: Only for an invitation shared as a link, which has no address.
  - `firstName` string
  - `lastName` string
  - `password` string

## Response `200`

- OrganizationMember
  - `id` integer, required
  - `name` string, required
  - `email` string, email, required
  - `isEditor` boolean, required
  - `identityConfirmed` boolean, required: Whether Frikanalen has confirmed who they are: needed to set up airtime.

## Other responses

- `400`
- `401`
- `404`: No open invitation.
- `405`
- `406`
- `415`
- `429`
- `500`

## Changes

- **2026-11-21** `c2a3add7e275`: 1 breaking, 2 info
  - added `#/components/schemas/InvitationsAcceptCreateEmailErrorComponent` to the `oneOf[#/components/schemas/InvitationsAcceptCreateValidationError]/errors/items/` response property `oneOf` list for the response status `400`
  - added the new optional request property `email`
  - added `email` discriminator mapping keys to the `oneOf[#/components/schemas/InvitationsAcceptCreateValidationError]/errors/items/` response property for the response status `400`
- **2026-11-20** `200317929aa0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/changes/api/invitations/:token/accept/post.md)

---

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