Member Junction
    Preparing search index...

    Parameters for creating a magic-link invite from a Server Extension.

    interface ServerExtensionCreateMagicLinkParams {
        ApplicationId: string;
        email: string;
        ExpiresInHours?: number;
        firstName?: string;
        lastName?: string;
        MaxUses?: number;
        RedirectUrl?: string;
        RoleId?: string;
        SendEmail?: boolean;
    }
    Index

    Properties

    ApplicationId: string
    email: string
    ExpiresInHours?: number
    firstName?: string
    lastName?: string
    MaxUses?: number
    RedirectUrl?: string

    Optional per-invite post-redemption redirect URL (must match the host's allowed frontend origins). Cryptographically bound to the invite's token hash so it cannot be tampered with in transit.

    RoleId?: string
    SendEmail?: boolean

    When false, skips MJServer's default invite email delivery and returns rawToken + redemptionUrl so the extension can send its own branded message. Defaults to true when a communication provider is configured.