Cómo empezar
Aprende a crear una experiencia de voz atractiva
Agregar funciones de voz
personalizables nunca ha sido tan fácil

Céntrate en tus clientes, no en crear una voz desde el principio
Twilio Voice te ofrece las herramientas necesarias para crear experiencias de voz personalizadas que satisfagan y superen las expectativas de los clientes, siempre cambiantes. Con nuestra infraestructura de nivel empresarial, puedes pasar más tiempo ofreciendo experiencias memorables al cliente y menos tiempo construyendo esas experiencias desde cero.
Además, con nuestras innovadoras API, SDK y recursos para desarrolladores, tendrás todo el apoyo necesario para comenzar a crear una aplicación de voz memorable.
API de voz
Mejora la forma en que te conectas con
los clientes
- 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.calls.create({url:'https://example.com',to:'+15558675310',from:'+15017122661'}).then(call=>console.log(call.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)call=client.calls.create(url='https://example.com',to='+15558675310',from_='+15017122661')print(call.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);varcall=CallResource.Create(url:newUri("https://example.com"),to:newTwilio.Types.PhoneNumber("+15558675310"),from:newTwilio.Types.PhoneNumber("+15017122661"));Console.WriteLine(call.Sid);}}
// Install the Java helper library from twilio.com/docs/java/installimportcom.twilio.Twilio;importcom.twilio.rest.api.v2010.account.Call;importcom.twilio.type.PhoneNumber;importjava.net.URI;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);Callcall=Call.creator(newcom.twilio.type.PhoneNumber("+15558675310"),newcom.twilio.type.PhoneNumber("+15017122661"),URI.create("https://example.com")).create();System.out.println(call.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.CreateCallParams{}params.SetUrl("https://example.com")params.SetTo("+15558675310")params.SetFrom("+15017122661")resp,err:=client.Api.CreateCall(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);$call=$twilio->calls->create("+15558675310",// to"+15017122661",// from["url"=>"https://example.com"]);print($call->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)call=@client.calls.create(url:'https://example.com',to:'+15558675310',from:'+15017122661')putscall.sid
# Install the twilio-cli from https://twil.io/cli
twilio api:core:calls:create \
--url https://example.com \
--to +15558675310 \
--from +15017122661
curl -X POST "https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/Calls.json"\--data-urlencode "Url=https://example.com"\--data-urlencode "To=+15558675310"\--data-urlencode "From=+15017122661"\-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
Comienza a conectar con clientes de todo el mundo
- Realiza tu primera llamada saliente: En solo unos minutos, puedes dar los primeros pasos para crear tu experiencia de voz ideal
- Colas de llamadas: Configura colas para almacenar las llamadas entrantes en orden y, luego, conectarlas con los agentes disponibles
- Personaliza la forma en que respondes a las llamadas: Responde a las llamadas entrantes con tu aplicación web ASP.NET
- Integra las funciones de llamada en cualquier lugar: Agrega la capacidad de hacer llamadas entrantes y salientes desde tu navegador o tus aplicaciones
- 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.transcriptions('TRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch().then(transcription=>console.log(transcription.dateCreated));
# 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)transcription=client.transcriptions('TRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
.fetch()print(transcription.date_created)
// 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);vartranscription=TranscriptionResource.Fetch(pathSid:"TRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");Console.WriteLine(transcription.DateCreated);}}
// Install the Java helper library from twilio.com/docs/java/installimportcom.twilio.Twilio;importcom.twilio.rest.api.v2010.account.Transcription;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);Transcriptiontranscription=Transcription.fetcher("TRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX").fetch();System.out.println(transcription.getDateCreated());}}
// 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.FetchTranscriptionParams{}resp,err:=client.Api.FetchTranscription("TRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",params)iferr!=nil{fmt.Println(err.Error())}else{ifresp.DateCreated!=nil{fmt.Println(*resp.DateCreated)}else{fmt.Println(resp.DateCreated)}}}
<?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);$transcription=$twilio->transcriptions("TRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")->fetch();print($transcription->dateCreated->format());
# 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)transcription=@client.transcriptions('TRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetchputstranscription.date_created
# Install the twilio-cli from https://twil.io/cli
twilio api:core:transcriptions:fetch \
--sid TRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
curl -X GET "https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/Transcriptions/TRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"\-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
Controla y modifica las llamadas fácilmente
- Llamadas de conferencia globales: Crea conferencias telefónicas personalizadas para hasta 250 personas en todo el mundo
- Grabación de llamadas: Graba, almacena y cifra de forma segura las llamadas entrantes y salientes
- Transcribe grabaciones: Convierte la grabación de audio en texto legible en el idioma que elijas
- 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.calls('CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').payments.create({idempotencyKey:'idempotency_key',statusCallback:'https://example.com'}).then(payment=>console.log(payment.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)payment=client.calls('CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
.payments \
.create(idempotency_key='idempotency_key',status_callback='https://example.com')print(payment.sid)
// Install the C# / .NET helper library from twilio.com/docs/csharp/installusingSystem;usingTwilio;usingTwilio.Rest.Api.V2010.Account.Call;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);varpayment=PaymentResource.Create(idempotencyKey:"idempotency_key",statusCallback:newUri("https://example.com"),pathCallSid:"CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");Console.WriteLine(payment.Sid);}}
// Install the Java helper library from twilio.com/docs/java/installimportcom.twilio.Twilio;importcom.twilio.rest.api.v2010.account.call.Payment;importjava.net.URI;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);Paymentpayment=Payment.creator("CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX","idempotency_key",URI.create("https://example.com")).create();System.out.println(payment.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.CreatePaymentsParams{}params.SetIdempotencyKey("idempotency_key")params.SetStatusCallback("https://example.com")resp,err:=client.Api.CreatePayments("CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",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);$payment=$twilio->calls("CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")->payments->create("idempotency_key","https://example.com");print($payment->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)payment=@client.calls('CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').payments.create(idempotency_key:'idempotency_key',status_callback:'https://example.com')putspayment.sid
# Install the twilio-cli from https://twil.io/cli
twilio api:core:calls:payments:create \
--call-sid CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \
--idempotency-key idempotency_key \
--status-callback https://example.com
curl -X POST "https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/Calls/CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Payments.json"\--data-urlencode "IdempotencyKey=idempotency_key"\--data-urlencode "StatusCallback=https://example.com"\-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
Crea sin preocuparte por la seguridad de tus datos
- Llamadas de emergencia: Permite realizar enrutamientos de llamadas de emergencia a los Puntos de Respuesta de Seguridad Pública (PSAP) de Estados Unidos, Canadá y Reino Unido
- Llamadas enmascaradas: Protege tus datos sensibles y los de tus clientes con proxies de números de teléfono temporales
- Cumplimiento de HIPAA y PCI: Twilio Voice cumple con la HIPAA y con el nivel 1 de PCI DSS
Productos complementarios
La comunicación no empieza
ni termina con Voice
Recursos
Todo lo que necesitas para
crear interés con Voice
Guías de inicio rápido
Configúralo en cuestión de minutos utilizando una de nuestras guías de inicio rápido y empieza a crear en el idioma que elijas.
Conferencia
Descubre cómo configurar los recursos de la conferencia y cómo iniciarlos utilizando la API REST.
Interfaces de SIP
Aumenta la agilidad de tu negocio actualizando tu infraestructura de VoIP con capacidades escalables en la nube.
Ubicaciones de los bordes globales
Enruta las llamadas a través de una de nuestras nueve ubicaciones de borde global para proporcionar la menor latencia posible a tus clientes.
Pagos seguros
Incorpora los pagos asistidos por agentes a tu experiencia de voz con la garantía de que se mantiene la seguridad con el cumplimiento de PCI.
ID de llamada saliente
Utiliza un número de teléfono verificado para establecer un ID de llamada cuando realices llamadas con la API REST.
Colas de llamadas
Configura la cola de llamadas para almacenar las llamadas entrantes en orden y, luego, conecta fácilmente al primero de la cola con un vendedor o un agente.
PRECIOS
Precios flexibles para una API de voz flexible
Con Twilio Voice, solo pagas por lo que usas sin necesidad de compromisos. Paga por consumo, o bien obtén descuentos por un volumen comprometido.