New api function

Added functionality for V3 of the SMSGH Api. Made the module conditional so that it doesn't break for those using the old version.