making an api call to send sms