Twilio Sync

Twilio Sync is Twilio's state synchronization service, offering two-way real-time communication between browsers, mobiles, and the cloud. Using Sync helps you avoid building all the real-time infrastructure to do this yourself. Instead, Twilio:

  • terminates and authenticates compressed websocket connections,
  • manages permissions and access,
  • pushes updates to that data down to the endpoints, and
  • handles recovery from connection loss, including any missed state updates.

Sync leans on the concept of state synchronization. When you build your application around state, your endpoints and your backends manipulate persistent data in the Twilio backend, using that as the ultimate source of truth and agreement. From there, each new connected endpoint not only gets live updates as they happen, but they also get the latest state, even over intermittent connections.

With these building blocks, you can create experiences like:

  • Co-Browsing, Create immersive support experiences by letting two users see the same views, share mouse pointer positions, or fill in forms together.
  • User Presence. Help users contact each other with online/offline context or even what kind of device they're using.  
  • Live Dashboards. Pump calculated or queried statistics from your TaskRouter backend into Sync and build beautiful visualizations of your contact center,
  • Home Automation. Room temperature, lighting, or even your front door: homes and production facilities are full of state; use Sync to expose and manipulate it from a distance.

JavaScript で始める

iOS で始める

Android で始める

お問い合わせ

Since this is a beta product, we are anxious to hear your feedback and help you with any trouble you may encounter. For technical support, send a mail to help@twilio.com. We're also happy to hear your feedback or your requests, so don't hesitate to get in touch!

ヘルプが必要ですか?

誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。