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

# Create Membership Invitation

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

## Path parameters

- `site_name` string, required

## Headers

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

## Request body

- object
  - `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
  - `id` string
  - `name` string
  - `pages` 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)
