Voice

Einstieg

Erfahren Sie, wie Sie ein ansprechendes Spracherlebnis schaffen können

Anpassbare Sprachfunktionen hinzuzufügen war noch nie so einfach

Developer tools make it easy to start building with Twilio

Konzentrieren Sie sich auf Ihre Kunden, nicht auf den Aufbau von Sprachanruffunktionen

Twilio Voice stellt Ihnen die Tools zur Verfügung, die Sie benötigen, um maßgeschneiderte Spracherlebnisse zu schaffen, die die sich ständig ändernden Kundenerwartungen erfüllen und übertreffen. Mit unserer Infrastruktur für Unternehmen können Sie sich ganz auf die Bereitstellung unvergesslicher Kundenerlebnisse konzentrieren und müssen nicht bei Null anzufangen.

Und mit unseren innovativen APIs, SDKs und Entwicklerressourcen haben Sie alles, was Sie brauchen, um eine unvergessliche Sprachanwendung zu entwickeln.

Voice API


Verbessern Sie die Verbindung zur Kundschaft

Bauen Sie jetzt Verbindungen zu Kunden auf der ganzen Welt auf

// Download the helper library from https://www.twilio.com/docs/node/install
// Find your Account SID and Auth Token at twilio.com/console
// and set the environment variables. See http://twil.io/secure
const accountSid = process.env.TWILIO_ACCOUNT_SID;
const authToken = process.env.TWILIO_AUTH_TOKEN;
const client = 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/install
import os
from twilio.rest import Client


# Find your Account SID and Auth Token at twilio.com/console
# and set the environment variables. See http://twil.io/secure
account_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/install

using System;
using Twilio;
using Twilio.Rest.Api.V2010.Account;


class Program
{
    static void Main(string[] args)
    {
        // Find your Account SID and Auth Token at twilio.com/console
        // and set the environment variables. See http://twil.io/secure
        string accountSid = Environment.GetEnvironmentVariable("TWILIO_ACCOUNT_SID");
        string authToken = Environment.GetEnvironmentVariable("TWILIO_AUTH_TOKEN");

        TwilioClient.Init(accountSid, authToken);

        var call = CallResource.Create(
            url: new Uri("https://example.com"),
            to: new Twilio.Types.PhoneNumber("+15558675310"),
            from: new Twilio.Types.PhoneNumber("+15017122661")
        );

        Console.WriteLine(call.Sid);
    }
}
// Install the Java helper library from twilio.com/docs/java/install

import com.twilio.Twilio;
import com.twilio.rest.api.v2010.account.Call;
import com.twilio.type.PhoneNumber;

import java.net.URI;

public class Example {
    // Find your Account SID and Auth Token at twilio.com/console
    // and set the environment variables. See http://twil.io/secure
    public static final String ACCOUNT_SID = System.getenv("TWILIO_ACCOUNT_SID");
    public static final String AUTH_TOKEN = System.getenv("TWILIO_AUTH_TOKEN");

    public static void main(String[] args) {
        Twilio.init(ACCOUNT_SID, AUTH_TOKEN);
        Call call = Call.creator(
                new com.twilio.type.PhoneNumber("+15558675310"),
                new com.twilio.type.PhoneNumber("+15017122661"),
                URI.create("https://example.com"))
            .create();

        System.out.println(call.getSid());
    }
}
use Twilio\\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 = new Client(\$sid, \$token);

\$call = \$twilio->calls
               ->create("+15558675310", // to
                        "+15017122661", // from
                        ["url" => "https://example.com"]
               );

print(\$call->sid);
require 'rubygems'
require 'twilio-ruby'

# Find your Account SID and Auth Token at twilio.com/console
# and set the environment variables. See http://twil.io/secure
account_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'
                     )

puts call.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
// Download the helper library from https://www.twilio.com/docs/node/install
// Find your Account SID and Auth Token at twilio.com/console
// and set the environment variables. See http://twil.io/secure
const accountSid = process.env.TWILIO_ACCOUNT_SID;
const authToken = process.env.TWILIO_AUTH_TOKEN;
const client = 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/install
import os
from twilio.rest import Client


# Find your Account SID and Auth Token at twilio.com/console
# and set the environment variables. See http://twil.io/secure
account_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/install

using System;
using Twilio;
using Twilio.Rest.Api.V2010.Account;


class Program
{
    static void Main(string[] args)
    {
        // Find your Account SID and Auth Token at twilio.com/console
        // and set the environment variables. See http://twil.io/secure
        string accountSid = Environment.GetEnvironmentVariable("TWILIO_ACCOUNT_SID");
        string authToken = Environment.GetEnvironmentVariable("TWILIO_AUTH_TOKEN");

        TwilioClient.Init(accountSid, authToken);

        var transcription = TranscriptionResource.Fetch(
            pathSid: "TRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
        );

        Console.WriteLine(transcription.DateCreated);
    }
}
public class Example {
    // Find your Account SID and Auth Token at twilio.com/console
    // and set the environment variables. See http://twil.io/secure
    public static final String ACCOUNT_SID = System.getenv("TWILIO_ACCOUNT_SID");
    public static final String AUTH_TOKEN = System.getenv("TWILIO_AUTH_TOKEN");

    public static void main(String[] args) {
        Twilio.init(ACCOUNT_SID, AUTH_TOKEN);
        Transcription transcription =
            Transcription.fetcher("TRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
            .fetch();

        System.out.println(transcription.getDateCreated());
    }
}
<?php

// Update the path below to your autoload.php,
// see https://getcomposer.org/doc/01-basic-usage.md
require_once '/path/to/vendor/autoload.php';

use Twilio\\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 = new Client(\$sid, \$token);

\$transcription = \$twilio->transcriptions("TRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
                        ->fetch();

print(\$transcription->dateCreated->format());
# Download the helper library from https://www.twilio.com/docs/ruby/install
require 'rubygems'
require 'twilio-ruby'

# Find your Account SID and Auth Token at twilio.com/console
# and set the environment variables. See http://twil.io/secure
account_sid = ENV['TWILIO_ACCOUNT_SID']
auth_token = ENV['TWILIO_AUTH_TOKEN']
@client = Twilio::REST::Client.new(account_sid, auth_token)

transcription = @client.transcriptions('TRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
                       .fetch

puts transcription.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

Einfache Steuerung und Änderung von Anrufen

Entwickeln Sie, ohne sich Gedanken über die Sicherheit Ihrer Daten machen zu müssen

  • Notruf

    Aktivieren Sie die Weiterleitung von Notrufen an öffentliche Stellen

  • Anrufmaskierung

    Schützen Sie sich und die sensiblen Daten Ihrer Kunden mit temporären Telefonnummer-Proxys

  • HIPAA und PCI

    Compliance: Twilio Voice ist sowohl HIPAA-konform als auch PCI DSS Stufe 1-konform

// Download the helper library from https://www.twilio.com/docs/node/install
// Find your Account SID and Auth Token at twilio.com/console
// and set the environment variables. See http://twil.io/secure
const accountSid = process.env.TWILIO_ACCOUNT_SID;
const authToken = process.env.TWILIO_AUTH_TOKEN;
const client = 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/install
import os
from twilio.rest import Client


# Find your Account SID and Auth Token at twilio.com/console
# and set the environment variables. See http://twil.io/secure
account_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)
using Twilio;
using Twilio.Rest.Api.V2010.Account.Call;


class Program
{
    static void Main(string[] args)
    {
        // Find your Account SID and Auth Token at twilio.com/console
        // and set the environment variables. See http://twil.io/secure
        string accountSid = Environment.GetEnvironmentVariable("TWILIO_ACCOUNT_SID");
        string authToken = Environment.GetEnvironmentVariable("TWILIO_AUTH_TOKEN");

        TwilioClient.Init(accountSid, authToken);

        var payment = PaymentResource.Create(
            idempotencyKey: "idempotency_key",
            statusCallback: new Uri("https://example.com"),
            pathCallSid: "CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
        );

        Console.WriteLine(payment.Sid);
    }
}
using Twilio;
using Twilio.Rest.Api.V2010.Account.Call;


class Program
{
    static void Main(string[] args)
    {
        // Find your Account SID and Auth Token at twilio.com/console
        // and set the environment variables. See http://twil.io/secure
        string accountSid = Environment.GetEnvironmentVariable("TWILIO_ACCOUNT_SID");
        string authToken = Environment.GetEnvironmentVariable("TWILIO_AUTH_TOKEN");

        TwilioClient.Init(accountSid, authToken);

        var payment = PaymentResource.Create(
            idempotencyKey: "idempotency_key",
            statusCallback: new Uri("https://example.com"),
            pathCallSid: "CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
        );

        Console.WriteLine(payment.Sid);
    }
}
<?php

// Update the path below to your autoload.php,
// see https://getcomposer.org/doc/01-basic-usage.md
require_once '/path/to/vendor/autoload.php';

use Twilio\\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 = new Client(\$sid, \$token);

\$payment = \$twilio->calls("CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
                  ->payments
                  ->create("idempotency_key", "https://example.com");

print(\$payment->sid);
require 'twilio-ruby'

# Find your Account SID and Auth Token at twilio.com/console
# and set the environment variables. See http://twil.io/secure
account_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'
                  )

puts payment.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

Unterstützende Produkte


Kommunikation beginnt und endet nicht mit Voice

Video

Mit der von WebRTC betriebenen Videoplattform können Sie skalierbare, qualitativ hochwertige Videoanwendungen erstellen.

Messaging

Erreichen Sie Ihre Kunden über deren bevorzugten Kanal weltweit mit Messaging per SMS, WhatsApp oder Chat.

Elastisches SIP-Trunking

Erweitern Sie Ihre Kommunikationsinfrastruktur um PTN-Konnektivität und globale Skalierung mit der flexibelsten SIP-Trunking-Lösung, die es auf dem Markt gibt.

Ressourcen


Preise


Flexible Preise für eine flexible Voice-API

Mit Twilio Voice zahlen Sie nur für das, was Sie tatsächlich nutzen, und gehen keine Verpflichtungen ein. Nutzen Sie „Pay as you go“ oder erhalten Sie Rabatte auf ein zugesagtes Volumen.