Api for sms gates