Defining mask tag in Bodymovin export


I would like to use my exported Lottie animation to mask other content on a webpage, but I cannot figure out how to wrap the animation in a mask object. Is this possible, or is there other ways to achieve the same goal, either with masks or clip-paths?