Convert your SMS code from Tropo to Nexmo

« Back to overview

Keep reading to see a comparison of how Nexmo and Tropo compare for working with SMS messages.
Bear in mind that with Nexmo the code runs on your own server, whilst with Tropo you store your code on a Tropo platform.

Nexmo provide server-side libraries in six different libraries to help you integrate our platform more easily.
Head to the tools page to find out more.

Sign Up

SMS an SMS

Sending an SMS with Nexmo couldn't be easier! Tell us who the message is from, who to send it to and the text that you'd like to send and we'll take care of the rest.

With support for six different languages and a simple REST API, you can get started with the Nexmo SMS API in under 10 minutes!

Example code


Tropo

call("+61491570157", {
   network:"SMS"});
say("Don't forget your meeting at 2 p.m. on Wednesday!");
call("+61491570157", array(
   "network" => "SMS")
);
say ("Don't forget your meeting at 2 p.m. on Wednesday!");
call("+61491570157", {
   "network":"SMS"})
say("Don't forget your meeting at 2 p.m. on Wednesday!")
call "+61491570157", {
   :network => "SMS"}
say "Don't forget your meeting at 2 p.m. on Wednesday!"

Nexmo

const text = "Don't forget your meeting at 2 p.m. on Wednesday!"
nexmo.message.sendSms('Acme Inc', '61491570157', text, opts, function(){})
$message = $client->message()->send([
    'to' => '61491570157',
    'from' => 'Acme Inc',
    'text' => "Don't forget your meeting at 2 p.m. on Wednesday!"
]);
client.send_message({
    'from': 'Acme Inc',
    'to': '61491570157',
    'text': "Don't forget your meeting at 2 p.m. on Wednesday!"
})
client.sms.send(
  from: 'Acme Inc',
  to: '61491570157',
  text: "Don't forget your meeting at 2 p.m. on Wednesday!"
)


What's next?

Ready to get started? Here's some further reading to help you get started with the Nexmo platform

Tutorials

Work through some in depth use_case, covering common use cases

product: messaging/sms

Code Snippets

Want to dive in to code? Take a look at our library of code snippets to get started quickly