How do you turn on or off a Hue Motiin Sensir vis Shortcuts?

I’ve heard this is possible through their API but hoping someone out there has already solved?