Démarrer
Découvrez comment construire une expérience vocale attrayante
Ajouter des fonctionnalités vocales personnalisables
n'a jamais été aussi simple

Concentrez-vous sur vos clients, pas sur la création d'une expérience vocale à partir de zéro
Twilio Voice vous fournit les outils nécessaires pour construire des expériences vocales sur mesure visant à satisfaire et dépasser les attentes des clients en constante évolution. Grâce à notre infrastructure de qualité professionnelle, vous pouvez consacrer plus de temps à peaufiner l'expérience client au lieu de perdre du temps à construire ces expériences à partir de rien.
Et grâce à nos API innovantes, nos SDK et nos ressources pour les développeurs, vous bénéficiez de toute l'assistance nécessaire pour commencer à construire une application vocale remarquable.
API Voice
Améliorez vos relations avec
vos clients
- 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
Commencez à échanger avec des clients du monde entier
- Premiers appels : en quelques minutes seulement, commencez à construire votre expérience vocale idéale
- Files d'attente d'appels : configurez des files d'attente pour trier les appels entrants dans l'ordre, puis connectez-les aux agents disponibles
- Personnalisation de votre réponse aux appels : répondez aux appels entrants à l'aide de votre application Web ASP.NET
- Des fonctions d'appels intégrées partout : ajoutez la possibilité de passer des appels entrants et sortants depuis votre navigateur ou vos applications
- 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
Contrôlez et modifiez facilement les appels
- Conférence téléphonique internationale : Créez des conférences téléphoniques personnalisables avec un maximum de 250 personnes dans le monde entier
- Enregistrement des appels : enregistrez, stockez et chiffrez en toute sécurité les appels entrants et sortants
- Transcription des enregistrements : convertissez l'enregistrement audio en texte lisible dans la langue de votre choix
- 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
Construisez votre solution sans vous inquiéter de la sécurité de vos données
- Appels d'urgence : acheminez les appels d'urgence vers les centres de réception des appels d'urgence (PSAP) aux États-Unis, au Canada et au Royaume-Uni
- Appels masqués : protégez vos données sensibles et celles de vos clients à l'aide de proxys de numéros de téléphone temporaires
- Conformité avec la loi HIPAA et la norme PCI : Twilio Voice est à la fois conforme à la loi américaine HIPAA et à la norme de sécurité PCI DSS Niveau 1
Produits complémentaires
Communiquez avec Voice,
mais pas seulement
Ressources
Tout ce dont vous avez besoin pour
favoriser l'engagement client avec Voice
Guides de démarrage rapide
Soyez prêt en quelques minutes à l'aide de l'un de nos guides de démarrage rapide et commencez à construire dans la langue de votre choix.
Conférence
Découvrez comment configurer les ressources de conférence et comment les lancer à l'aide de l'API REST.
Interfaces SIP
Améliorez la flexibilité de votre entreprise en mettant à niveau votre infrastructure VoIP avec des fonctionnalités Cloud évolutives.
Sites périphériques mondiaux
Acheminez les appels via l'un de nos neuf sites périphériques mondiaux pour offrir à vos clients la latence la plus faible possible.
Paiements sécurisés
Ajoutez des paiements assistés par agent à votre expérience vocale tout en ayant la garantie de maintenir la sécurité grâce à la conformité à la norme PCI.
ID de l'appelant sortant
Utilisez un numéro de téléphone vérifié pour définir un ID d'appelant lorsque vous passez des appels avec l'API REST.
Files d'attente d'appels
Configurez la mise en file d'attente des appels pour stocker les appels entrants dans l'ordre, puis connectez facilement le premier appel de la file d'attente à un vendeur ou à un agent.
TARIFS
Une tarification flexible avec une API Voice flexible
Avec Twilio Voice, payez uniquement ce que vous utilisez, sans engagement. Payez à l'utilisation ou bénéficiez de remises sur un volume déterminé.