Braze JavaScript SDK
    Preparing search index...

    Function addUserToSubscriptionGroup

    • Adds a user to an email or SMS subscription group.

      Parameters

      • subscriptionGroupId: string

        The unique identifier of the subscription group.

      Returns Promise<boolean | undefined>

      Resolves to a boolean that indicates whether the update was successfully enqueued. Resolves to undefined if the SDK is not initialized.