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 →
Facebook Messenger para empresas Beta

Facebook Messenger para empresas, criada para escalar

Alcance e ofereça suporte aos clientes no Facebook Messenger. Para velocidade de entrada no mercado e escalabilidade, crie com a API Conversations.

Ilustração de uma pessoa que escolheu um produto a partir do aplicativo Facebook Messenger no dispositivo móvel

APIs

Alcance bilhões globalmente
com uma API flexível

Ilustração da API Conversations que se conecta com múltiplos participantes por meio de vários canais

API Conversations

Impulsione o engajamento com mensagens entre canais que incluem gerenciamento de participantes e mensagens arquivadas para o Facebook Messenger, Business Messages do Google, SMS, MMS, WhatsApp, e chat no aplicativo.

Explore a API Conversations

Casos de uso

Gere conversões e
satisfação do cliente

Comércio conversacional

Conheça os clientes de pesquisa, anúncios ou perfis do Facebook com mensagens interativas que respondem a perguntas, inspiram confiança e impulsionam vendas.

Atendimento ao cliente

Eleve o suporte com assistência ao vivo e recursos de autoatendimento diretamente de sua página do Facebook com respostas rápidas.

Promoções

Ofereça ofertas relevantes como parte de uma única conversa com cada cliente, com imagens interativas e emojis para ativar e reengajar.

Geração de leads

Simplifique sua aquisição de clientes por meio de leads direcionados a anúncios por clique no Facebook Messenger.

Recursos para desenvolvedores

Criar configuração de endereço
  • 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.addressConfigurations.create({friendlyName:'My Test Configuration','autoCreation.enabled':true,'autoCreation.type':'webhook','autoCreation.conversationServiceSid':'ISXXXXXXXXXXXXXXXXXXXXXX','autoCreation.webhookUrl':'https://example.com','autoCreation.webhookMethod':'POST','autoCreation.webhookFilters':['onParticipantAdded','onMessageAdded'],type:'sms',address:'+37256123457'}).then(address_configuration=>console.log(address_configuration.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)address_configuration=client.conversations \ .v1 \ .address_configurations \ .create(friendly_name='My Test Configuration',auto_creation_enabled=True,auto_creation_type='webhook',auto_creation_conversation_service_sid='ISXXXXXXXXXXXXXXXXXXXXXX',auto_creation_webhook_url='https://example.com',auto_creation_webhook_method='POST',auto_creation_webhook_filters=['onParticipantAdded','onMessageAdded'],type='sms',address='+37256123457')print(address_configuration.sid)
// Install the C# / .NET helper library from twilio.com/docs/csharp/installusingSystem;usingSystem.Collections.Generic;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);varautoCreationWebhookFilters=newList<string>{"onParticipantAdded","onMessageAdded"};varaddressConfiguration=AddressConfigurationResource.Create(friendlyName:"My Test Configuration",autoCreationEnabled:true,autoCreationType:AddressConfigurationResource.AutoCreationTypeEnum.Webhook,autoCreationConversationServiceSid:"ISXXXXXXXXXXXXXXXXXXXXXX",autoCreationWebhookUrl:"https://example.com",autoCreationWebhookMethod:AddressConfigurationResource.MethodEnum.Post,autoCreationWebhookFilters:autoCreationWebhookFilters,type:AddressConfigurationResource.TypeEnum.Sms,address:"+37256123457");Console.WriteLine(addressConfiguration.Sid);}}
// Install the Java helper library from twilio.com/docs/java/installimportcom.twilio.Twilio;importcom.twilio.rest.conversations.v1.AddressConfiguration;importjava.util.Arrays;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);AddressConfigurationaddressConfiguration=AddressConfiguration.creator(AddressConfiguration.Type.SMS,"+37256123457").setFriendlyName("My Test Configuration").setAutoCreationEnabled(true).setAutoCreationType(AddressConfiguration.AutoCreationType.WEBHOOK).setAutoCreationConversationServiceSid("ISXXXXXXXXXXXXXXXXXXXXXX").setAutoCreationWebhookUrl("https://example.com").setAutoCreationWebhookMethod(AddressConfiguration.Method.POST).setAutoCreationWebhookFilters(Arrays.asList("onParticipantAdded","onMessageAdded")).create();System.out.println(addressConfiguration.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.CreateConfigurationAddressParams{}params.SetFriendlyName("My Test Configuration")params.SetAutoCreationEnabled(true)params.SetAutoCreationType("webhook")params.SetAutoCreationConversationServiceSid("ISXXXXXXXXXXXXXXXXXXXXXX")params.SetAutoCreationWebhookUrl("https://example.com")params.SetAutoCreationWebhookMethod("POST")params.SetAutoCreationWebhookFilters([]string{"onParticipantAdded","onMessageAdded"})params.SetType("sms")params.SetAddress("+37256123457")resp,err:=client.ConversationsV1.CreateConfigurationAddress(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);$address_configuration=$twilio->conversations->v1->addressConfigurations->create("sms",// type"+37256123457",// address["friendlyName"=>"My Test Configuration","autoCreationEnabled"=>True,"autoCreationType"=>"webhook","autoCreationConversationServiceSid"=>"ISXXXXXXXXXXXXXXXXXXXXXX","autoCreationWebhookUrl"=>"https://example.com","autoCreationWebhookMethod"=>"POST","autoCreationWebhookFilters"=>["onParticipantAdded","onMessageAdded"]]);print($address_configuration->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)address_configuration=@client.conversations.v1.address_configurations.create(friendly_name:'My Test Configuration',auto_creation_enabled:true,auto_creation_type:'webhook',auto_creation_conversation_service_sid:'ISXXXXXXXXXXXXXXXXXXXXXX',auto_creation_webhook_url:'https://example.com',auto_creation_webhook_method:'POST',auto_creation_webhook_filters:['onParticipantAdded','onMessageAdded'],type:'sms',address:'+37256123457')putsaddress_configuration.sid
# Install the twilio-cli from https://twil.io/cli twilio api:conversations:v1:configuration:addresses:create \ --friendly-name "My Test Configuration" \ --auto-creation.enabled \ --auto-creation.type webhook \ --auto-creation.conversation-service-sid ISXXXXXXXXXXXXXXXXXXXXXX \ --auto-creation.webhook-url https://example.com \ --auto-creation.webhook-method POST \ --auto-creation.webhook-filters onParticipantAdded onMessageAdded \ --type sms \ --address +37256123457
curl -X POST "https://conversations.twilio.com/v1/Configuration/Addresses"\--data-urlencode "FriendlyName=My Test Configuration"\--data-urlencode "AutoCreation.Enabled=True"\--data-urlencode "AutoCreation.Type=webhook"\--data-urlencode "AutoCreation.ConversationServiceSid=ISXXXXXXXXXXXXXXXXXXXXXX"\--data-urlencode "AutoCreation.WebhookUrl=https://example.com"\--data-urlencode "AutoCreation.WebhookMethod=POST"\--data-urlencode "AutoCreation.WebhookFilters=onParticipantAdded"\--data-urlencode "AutoCreation.WebhookFilters=onMessageAdded"\--data-urlencode "Type=sms"\--data-urlencode "Address=+37256123457"\-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 a criar no Facebook Messenger com o MessagingX.

Ilustração da API Conversations usando comunicação de 2 vias com rich media

Facebook Messenger facilitado com a API Conversations

Engaje os clientes globalmente no Facebook Messenger com uma única API entre canais. Junte‑se à versão beta para acessar a API, plataforma e SDKs da Twilio para construir com escalabilidade e velocidade de mercado líderes do setor.

Preços

Pague apenas pelo que utilizar
com preços simples.

Use a API Conversations sem assinaturas ou compromissos, apenas preços por usuário. Economize com descontos de dimensionamento para uso contínuo e de alto volume.