Sending SMS via JavaScript CM Direct API

Hi,

Since sending outgoing SMS’s via Twilio isn’t available in my country I’d like to try the CM Direct option here:

What would be the best, most secure way to send the contents of a Mongo Collection as the body of the SMS?

Thank you.

Sending via server such as Meteor.method