Ir para o conteúdo principal
You are viewing the Portuguese (Brazil) site, but your language preference is set to English. Switch to English site →
SMS

Entregue em escala com APIs comprovadas para SMS

Envie e receba mensagens de texto com apenas algumas linhas de código no MessagingX, a plataforma confiável para mensagens entre canais.

Ilustração do cliente que recebe a mensagem SMS com apenas algumas linhas de código

APIs

Escale do conceito à solução global
com APIs de SMS flexíveis

Ilustração da API Programmable Messaging que se conecta aos clientes por meio do canal preferido

API Programmable Messaging

Envie mensagens SMS, MMS e WhatsApp transacionais com uma única API.

  • Alcance mais de 180 países de forma confiável com remetentes localizados, ferramentas de conformidade e diretrizes globais.
  • Gerencie a capacidade de entrega, a conformidade, as respostas e muito mais com o software programável da Twilio.
  • Monitore e solucione problemas de entrega de mensagens e engajamento com análises em tempo real.
Ilustração da API Conversations que se conecta com múltiplos participantes por meio de vários canais

API Conversations

Impulsione o envolvimento bidirecional por meio de SMS e outros canais preferidos com uma única API.

  • Turbine comércio e suporte em SMS, MMS, Facebook Messenger, Business Messages do Google e WhatsApp.
  • Gerencie participantes, arquive mensagens e organize fluxos de trabalho sem código adicional.
  • Entre no mercado mais rapidamente com inicializações rápidas, aplicativos de amostra e SDKs.

Casos de uso

Inicie e escale
relacionamentos com clientes

Notificações

Envie alertas personalizados, lembretes e notificações para compromissos, entregas e muito mais com a API Programmable Messaging.

Verificações

Forneça OTPs para integração rápida que reduz os custos de suporte e a fraude de uma só vez.

Promoções

Distribua mensagens de marketing e ofertas com a API Programmable Messaging para impulsionar leads, as vendas e a fidelidade.

Cuidados de conversação e comércio

Ofereça suporte a toda a jornada do cliente com SMS bidirecional para suporte, vendas e geração de leads com a API Conversations.

Recursos para desenvolvedores

Crie uma mensagem
  • 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:'Hi there',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='Hi there',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:"Hi there",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.SetFrom("+15017122661")params.SetBody("Hi there")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"=>"Hi there"]);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:'Hi there',to:'+15558675310')putsmessage.sid
# Install the twilio-cli from https://twil.io/cli twilio api:core:messages:create \ --from +15017122661 \ --body "Hi there" \ --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=Hi there"\--data-urlencode "To=+15558675310"\-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN

Leia a documentação

Explore guias de início rápido, trechos de código, SDKs e muito mais em nossa abrangente biblioteca de recursos para começar sua solução de SMS com o MessagingX.

Preços

SMS facilitado
com o MessagingX

Envie e receba mensagens de texto em escala com duas APIs para desenvolvedores em uma plataforma confiável, o MessagingX. Pague por utilização e aproveite os descontos de dimensionamento para uso de alto volume e longo prazo.