---
title: "Api Admin Staff Groups Memberships Create"
method: POST
path: "/api/admin/staff-groups/{name}/memberships/"
tags: ["platformApi"]
---

# Api Admin Staff Groups Memberships Create

`POST /api/admin/staff-groups/{name}/memberships/`

POST handler with superadmin-only field protection.

Strips superadmin-only fields from non-superadmin requests before
delegating to OrganizationInjectionMixin.post() for org injection.

## Path parameters

- `name` string, required

## Headers

- `Authorization` string, required

## Request body

- StaffGroupMembershipCreateRequest — POST /api/admin/staff-groups/{name}/memberships/ body: {"email": "alice@x"} Creates or reinstates a membership linking ``email`` to the group identified by the URL path. Group must be active; user must already exist (no signup flow). Self-grant block fires here too — a principal cannot add themselves to a group, even one they already belong to.
  - `email` string, email, required

## Response `201`

- StaffGroupMembershipCreate — POST /api/admin/staff-groups/{name}/memberships/ body: {"email": "alice@x"} Creates or reinstates a membership linking ``email`` to the group identified by the URL path. Group must be active; user must already exist (no signup flow). Self-grant block fires here too — a principal cannot add themselves to a group, even one they already belong to.
  - `email` string, email, required

## Changes

- **2026-07-31** `c26d550029f8` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/keywordsai/apis/api-reference/changes/api/admin/staff-groups/:name/memberships/post.md)

---

[API](https://skmtc.dev/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.dev/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/keywordsai/api-reference/revisions/c26d550029f8/schema)
