---
title: "POST /api/organization/{id}/invitations"
method: POST
path: "/api/organization/{id}/invitations"
tags: ["organization"]
---

# POST /api/organization/{id}/invitations

`POST /api/organization/{id}/invitations`

## Request

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

The organization's open invitations, by address (blank for one shared
as a link). The editor and staff see them and invite more: by e-mail,
or as a link and QR code to hand over themselves.

## Path parameters

- `id` integer, required

## Request body

- InviteRequest
  - `email` union: Send the link here. Leave out to only get the link, to share yourself.
    - string, email
    - string

## Response `201`

- InvitationCreated: A new invitation, with its link. The link is only ever shown here: only its hash is stored, so a lost link means a new invitation.
  - `id` integer, required
  - `email` union
    - string, email
    - string
  - `createdAt` string, date-time
  - `expiresAt` string, date-time, required
  - `link` string, required
  - `qrCode` string, required: The link as an SVG data URI

## Other responses

- `400`
- `401`
- `404`
- `405`
- `406`
- `415`
- `500`

## Changes

- **2026-11-21** `c2a3add7e275`: 5 breaking, 8 info
  - the `email` request property type changed from `string` to no type, and format from `email` to no format
  - the response property `email` became optional for the status `201`
  - the `email` response property's maxLength was unset from `254` for the response status `201`
  - added `subschema #1, subschema #2` to the `email` response property `oneOf` list for the response status `201`
  - …9 more
- **2026-11-20** `200317929aa0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/changes/api/organization/:id/invitations/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)
