---
title: "Allows for an admin, with a Personal Api Key, to issue site membership subscriptions to their users"
method: POST
path: "/api/v3/payments/site-memberships/batch"
---

# Allows for an admin, with a Personal Api Key, to issue site membership subscriptions to their users

`POST /api/v3/payments/site-memberships/batch`

## Request body

- object[]
  - `id_type` 'GUID' | 'OIDC' | 'EMAIL'
  - `id` string — The ID (that relates to the id_type). If passing an OIDC id, use the format '{providerId}::{sub}'
  - `membership_guid` unknown
  - `valid_from` string
  - `valid_to` string

## Response `200`

Ok

## Other responses

- `400` — Bad request
- `403` — Forbidden

---

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