---
title: "Create Batch Membership Invitations"
method: POST
path: "/sites/{site_name}/membership/invitations/batch"
---

# Create Batch Membership Invitations

`POST /sites/{site_name}/membership/invitations/batch`

## Path parameters

- `site_name` string, required

## Headers

- `Authorization` string
- `x-duda-access-token` string

## Request body

- object
  - `invitations` object[] — List of invitations to create
    - `email` string — Email of the user to invite to the site. This email will be notified about the invitation to join the site. User should log in to the site with this email to be added to the groups.
    - `groups` object[] — Groups ids, to which the user will be added after logging in.
      - `id` string — The unique identifier of the member group.

## Response `200`

200

- object
  - `invitations` object[]
    - `created` string
    - `email` string
    - `groups` object[]
      - `id` string
      - `name` string
    - `id` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/duda/apis/partner-api.md) · [All operations](https://skmtc.net/duda/apis/partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/duda/partner-api/revisions/5b9208270ed1/schema)
