---
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

---

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