Adding sms notifications

I have the sms API,how do I add this to my appointments + and Marketpress to send sms notifications to customers and merchants?