v1

latestOpenAPI 3.1.02026-07-242470655.6 KB

Create Membership Invitation

post/sites/{site_name}/membership/invitations

Path parameters

site_namestring required

The unique identifier of the target site.

Headers

Authorizationstring
x-duda-access-tokenstring

Request body

emailstring

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.

Response

200

idstring
namestring
pagesstring[]

Example response

{
  "id": "90f33a1b-27bb-4020-9f7d-99d6026547f0",
  "name": "Premium site members",
  "pages": [
    "7b31a091a92049bba02315a3c718ecb1"
  ]
}