API que permite una entrega confiable de SMS
Envía y recibe mensajes de texto con la API que impulsan más de 100 000 millones de mensajes al año. Agrega SMS a tu app hoy mismo.

2 maneras de permanecer conectado
Envía alertas, notificaciones y recordatorios por SMS con la API de mensajería programable. O bien, proporciona atención al cliente a través de interacciones de SMS bidireccionales con la API de Conversations.
beneficios
Comienza rápido. Escala a nivel global.

Recursos fáciles de usar para desarrolladores
Envía mensajes de texto con algunas líneas de código. Comienza con la documentación detallada de la API o utiliza los ejemplos de código abierto para acceder rápidamente a casos de uso comunes. Luego, conecta fácilmente los canales o continúa iterando los flujos de SMS con el generador de flujo de trabajo visual de Twilio, Studio.

Compatibilidad con remitentes globales de alto volumen
Entrega mensajes de SMS a tus usuarios finales, sin importar dónde estén, con remitentes globales con una infraestructura de telecomunicaciones. Hemos resuelto los desafíos de la escala con un software configurable para potenciar la administración de números de teléfono, la selección de remitentes, el cumplimiento, el contenido y las respuestas.

Una plataforma que se adapta a ti
El SMS es solo el comienzo. Expande tu servicio a MMS, WhatsApp y más utilizando la misma API o agrega mensajes multicanal y de varias partes con Twilio Conversations. Cuando estés listo para implementar canales adicionales, utiliza la misma plataforma líder de interacción con el cliente para agregar voz, video y correo electrónico.
Envía mensajes verificados y confiables con A2P 10DLC de EE. UU.
Obtén más información acerca del nuevo proceso obligatorio para registrarte y obtener códigos de 10 dígitos verificados en EE. UU. Accede a beneficios como una mayor confianza del cliente, un mejor rendimiento y una mayor capacidad de entrega.

ejemplos de código
Pon en marcha con los
ejemplos de código
notificaciones de ETA
Notifica a los clientes en tiempo real con actualizaciones sobre los pedidos de servicio bajo demanda, como la entrega de pedidos o los viajes compartidos.
Alertas de servicio
Configura una aplicación web simple para enviar alertas a los administradores de los servidores cuando se produzca un error.
Alertas de clientes potenciales
Avisa a tu equipo de ventas tan pronto como recibas un nuevo cliente potencial calificado.
Recordatorios de citas
Envía mensajes a tus clientes para recordarles acerca de las próximas citas.
Mensajes de marketing
Configura las notificaciones de marketing por SMS y MMS.
Conversations
Crea mensajes multicanal y de varias partes con la API de Conversations
capacidades
Implementa SMS con las API creadas para tu caso de uso
- 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({from:'+15017122661',body:'body',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(from_='+15017122661',body='body',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(from:newTwilio.Types.PhoneNumber("+15017122661"),body:"body",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"),"body").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.SetFrom("+15017122661")params.SetBody("body")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["from"=>"+15017122661","body"=>"body"]);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(from:'+15017122661',body:'body',to:'+15558675310')putsmessage.sid
# Install the twilio-cli from https://twil.io/cli
twilio api:core:messages:create \
--from +15017122661 \
--body body \
--to +15558675310
curl -X POST "https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/Messages.json"\--data-urlencode "From=+15017122661"\--data-urlencode "Body=body"\--data-urlencode "To=+15558675310"\-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
Envía y recibe comunicaciones por SMS
- Crea flujos de trabajo de SMS en tus sistemas de actividad en segundo plano con la API de Programmable Messaging
- Crea comunicaciones activadas y mide la eficacia con la información de mensajería
- Compatibilidad con SMS transaccionales globales y de alto volumen
- Maneja la escala y el cumplimiento, a la vez que ofreces una experiencia local con software integrado configurable
- 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.conversations.v1.conversations.create().then(conversation=>console.log(conversation.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)conversation=client.conversations.v1.conversations.create()print(conversation.sid)
// Install the C# / .NET helper library from twilio.com/docs/csharp/installusingSystem;usingTwilio;usingTwilio.Rest.Conversations.V1;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);varconversation=ConversationResource.Create();Console.WriteLine(conversation.Sid);}}
// Install the Java helper library from twilio.com/docs/java/installimportcom.twilio.Twilio;importcom.twilio.rest.conversations.v1.Conversation;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);Conversationconversation=Conversation.creator().create();System.out.println(conversation.getSid());}}
// Download the helper library from https://www.twilio.com/docs/go/installpackagemainimport("fmt""github.com/twilio/twilio-go"conversations"github.com/twilio/twilio-go/rest/conversations/v1")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:=&conversations.CreateConversationParams{}resp,err:=client.ConversationsV1.CreateConversation(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);$conversation=$twilio->conversations->v1->conversations->create();print($conversation->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)conversation=@client.conversations.v1.conversations.createputsconversation.sid
# Install the twilio-cli from https://twil.io/cli
twilio api:conversations:v1:conversations:create
curl -X POST "https://conversations.twilio.com/v1/Conversations"\-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
Mensajería conversacional para la atención del cliente
- Crea conversaciones de grupo entre canales con la API de Conversations
- Comienza con SMS y amplía tu servicio a otros canales como WhatsApp, mientras permites a los empleados responder por chat mediante los SDK de Conversations
- Controla a los participantes, roles, vencimiento de las sesiones y los estados de manera programática sin código adicional
- Mantén los archivos de forma segura en la nube para mejorar la experiencia y conformidad del cliente
Precios
Precios flexibles y justos
Con los precios de pago por consumo, descuentos por volumen o precios por compromiso de uso, puedes elegir la opción más adecuada para ti.
¿Por qué elegir Twilio?
Crea sobre la plataforma de Twilio. Programa con confianza.
Las mejores API de comunicación para mantener el ritmo de la conversación en todos los canales
Alcance global y una escala inigualable que admite a más de
8 millones de desarrolladores
Potentes herramientas sin servidor y soluciones totalmente programables que se implementan en minutos
Seguridad y confiabilidad de estándar empresarial que ayuda a más de 190 000 marcas respetadas