Una API para mensajería global y confiable
Integra una API multicanal para enviar y recibir mensajes transaccionales mediante SMS, MMS y WhatsApp.

Crea mensajería escalable en tus aplicaciones
con solo unas pocas líneas de código

Software para mensajería transaccional en cualquier escala
Envía alertas y notificaciones, promociones y mensajes de marketing en los canales favoritos de tus clientes con una API. La API de mensajería programable incluye un software para administrar números de teléfono, capacidad de entrega, cumplimiento de las normas, respuestas y más.
Casos de uso
Mensajería
empresarial global y confiable para cualquier caso de uso
Recordatorios de citas
Reduce las ausencias recordando a los clientes acerca de las próximas citas para confirmarlas o reprogramarlas a través de sus canales preferidos.
Marketing del ciclo de vida
Aumenta la conversión y retención de clientes con mensajes de marketing enviados a través de sus canales preferidos.
Notificaciones de la cuenta
Mantén a los clientes actualizados con información oportuna a través de notificaciones personalizadas y pertinentes de sus cuentas.
Notificaciones de entrega
Actualiza a los clientes sobre su progreso de entrega y ofrece notificaciones de autoservicio bidireccionales.
Alertas de emergencia
Envía rápidamente alertas de advertencia, avisos de seguridad pública, cancelaciones de eventos y mucho más a los canales preferidos de los destinatarios del mensaje.
Verificaciones y códigos de acceso único
Verifica el número de teléfono de los usuarios al registrarse o iniciar sesión para evitar bots, velar por la confianza del cliente y garantizar una entrega precisa.
Canales
Envía y recibe mensajes transaccionales
en los canales más populares
Recursos para desarrolladores
- Node.js
- Python
- C#
- Java
- Go
- PHP
- Ruby
- twilio-cli
- curl
//Downloadthehelperlibraryfromhttps://www.twilio.com/docs/node/install//FindyourAccountSIDandAuthTokenattwilio.com/console//andsettheenvironmentvariables.Seehttp://twil.io/secureconstaccountSid=process.env.TWILIO_ACCOUNT_SID;constauthToken=process.env.TWILIO_AUTH_TOKEN;constclient=require('twilio')(accountSid,authToken);client.messages.create({body:'Hi there',from:'+15017122661',to:'+15558675310'}).then(message=>console.log(message.sid));
# Download the helper library from https://www.twilio.com/docs/python/installimportosfromtwilio.restimportClient# Find your Account SID and Auth Token at twilio.com/console# and set the environment variables. See http://twil.io/secureaccount_sid=os.environ['TWILIO_ACCOUNT_SID']auth_token=os.environ['TWILIO_AUTH_TOKEN']client=Client(account_sid,auth_token)message=client.messages.create(body='Hi there',from_='+15017122661',to='+15558675310')print(message.sid)
// Install the C# / .NET helper library from twilio.com/docs/csharp/installusingSystem;usingTwilio;usingTwilio.Rest.Api.V2010.Account;classProgram{staticvoidMain(string[]args){// Find your Account SID and Auth Token at twilio.com/console// and set the environment variables. See http://twil.io/securestringaccountSid=Environment.GetEnvironmentVariable("TWILIO_ACCOUNT_SID");stringauthToken=Environment.GetEnvironmentVariable("TWILIO_AUTH_TOKEN");TwilioClient.Init(accountSid,authToken);varmessage=MessageResource.Create(body:"Hi there",from:newTwilio.Types.PhoneNumber("+15017122661"),to:newTwilio.Types.PhoneNumber("+15558675310"));Console.WriteLine(message.Sid);}}
// Install the Java helper library from twilio.com/docs/java/installimportcom.twilio.Twilio;importcom.twilio.rest.api.v2010.account.Message;importcom.twilio.type.PhoneNumber;publicclassExample{// Find your Account SID and Auth Token at twilio.com/console// and set the environment variables. See http://twil.io/securepublicstaticfinalStringACCOUNT_SID=System.getenv("TWILIO_ACCOUNT_SID");publicstaticfinalStringAUTH_TOKEN=System.getenv("TWILIO_AUTH_TOKEN");publicstaticvoidmain(String[]args){Twilio.init(ACCOUNT_SID,AUTH_TOKEN);Messagemessage=Message.creator(newcom.twilio.type.PhoneNumber("+15558675310"),newcom.twilio.type.PhoneNumber("+15017122661"),"Hi there").create();System.out.println(message.getSid());}}
// Download the helper library from https://www.twilio.com/docs/go/installpackagemainimport("fmt""github.com/twilio/twilio-go"api"github.com/twilio/twilio-go/rest/api/v2010")funcmain(){// Find your Account SID and Auth Token at twilio.com/console// and set the environment variables. See http://twil.io/secureclient:=twilio.NewRestClient()params:=&api.CreateMessageParams{}params.SetBody("Hi there")params.SetFrom("+15017122661")params.SetTo("+15558675310")resp,err:=client.Api.CreateMessage(params)iferr!=nil{fmt.Println(err.Error())}else{ifresp.Sid!=nil{fmt.Println(*resp.Sid)}else{fmt.Println(resp.Sid)}}}
<?php// Update the path below to your autoload.php,// see https://getcomposer.org/doc/01-basic-usage.mdrequire_once'/path/to/vendor/autoload.php';useTwilio\Rest\Client;// Find your Account SID and Auth Token at twilio.com/console// and set the environment variables. See http://twil.io/secure$sid=getenv("TWILIO_ACCOUNT_SID");$token=getenv("TWILIO_AUTH_TOKEN");$twilio=newClient($sid,$token);$message=$twilio->messages->create("+15558675310",// to["body"=>"Hi there","from"=>"+15017122661"]);print($message->sid);
# Download the helper library from https://www.twilio.com/docs/ruby/installrequire'rubygems'require'twilio-ruby'# Find your Account SID and Auth Token at twilio.com/console# and set the environment variables. See http://twil.io/secureaccount_sid=ENV['TWILIO_ACCOUNT_SID']auth_token=ENV['TWILIO_AUTH_TOKEN']@client=Twilio::REST::Client.new(account_sid,auth_token)message=@client.messages.create(body:'Hi there',from:'+15017122661',to:'+15558675310')putsmessage.sid
# Install the twilio-cli from https://twil.io/cli
twilio api:core:messages:create \
--body "Hi there" \
--from +15017122661 \
--to +15558675310
curl -X POST "https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/Messages.json"\--data-urlencode "Body=Hi there"\--data-urlencode "From=+15017122661"\--data-urlencode "To=+15558675310"\-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
Leer los documentos
Explora las guías de inicio rápido, los fragmentos de código y una completa biblioteca de recursos para comenzar tu creación con la API de mensajería programable.
CAPACIDADES
Impulsa
la mensajería transaccional de última generación
Precios
Soluciones de mensajería escalables
con precios flexibles
Comienza con la API de mensajería programable de forma gratuita. Solo pagas por los mensajes que envías y recibes y por número de teléfono, además de las tarifas específicas de cada canal. Sin compromisos. Disfruta de descuentos para mensajería de alto volumen.