Invites
Create multiple invites
POST
https://discourse.example.com/invites/create-multiple.json
Body
application/json
emailstringpass 1 email per invite to be generated. other properties will be shared by each invite.
Example
[
"not-a-user-yet-1@example.com",
"not-a-user-yet-2@example.com"
]skip_ emailbooleanfalsecustom_ messagestringoptional, for email invites
max_ redemptions_ allowedinteger1optional, for link invites
Example
5topic_ idintegergroup_ idsstringOptional, either this or group_names. Comma separated
list for multiple ids.
Example
42,43group_ namesstringOptional, either this or group_ids. Comma separated
list for multiple names.
Example
foo,barexpires_ atstringoptional, if not supplied, the invite_expiry_days site setting is used
Parameters
Api-KeystringrequiredheaderApi-UsernamestringrequiredheaderResponse
200OKobject
success response