Skip to main content

Create multiple invites

POST 

/invites/create-multiple.json

Create multiple invites

Request

Header Parameters

    Api-Key stringrequired
    Api-Username stringrequired

Body

    email stringrequired

    pass 1 email per invite to be generated. other properties will be shared by each invite.

    skip_email booleanrequired

    Default value: false

    custom_message stringrequired

    optional, for email invites

    max_redemptions_allowed integerrequired

    Default value: 1

    optional, for link invites

    topic_id integerrequired
    group_ids stringrequired

    Optional, either this or group_names. Comma separated list for multiple ids.

    group_names stringrequired

    Optional, either this or group_ids. Comma separated list for multiple names.

    expires_at stringrequired

    optional, if not supplied, the invite_expiry_days site setting is used

Responses

success response

Schema
    num_successfully_created_invitations integerrequired
    num_failed_invitations integerrequired
    failed_invitations undefined[]required
    successful_invitations arrayrequired
Loading...