require 'zensend' client = ZenSend::Client.new("auxX2MQV4bTI23kemRUr2g") begin result = client.send_sms( originator: "FromZensend", # Add your number here to send a message to yourself # The number should be in international format. # For example GB numbers will be 447400123456 numbers: ["004479xxxxxxxx"], body: "Hello World - from Zensend!" ) puts result.inspect rescue ZenSend::ZenSendException => e puts "ZenSendException: #{e.parameter} => #{e.failcode}" end