Twilio Sync JavaScript client library

Sync library provides a set of primitives for data synchronization

Using Sync Library

Include library

To use this library you will need an AccessManager from Twilio Common library. You may include it from CDN:

<script src=""></script>

Then include datasync lib on your page

<script type="text/javascript" src=""></script>

Instantiate library

And now you can start using Sync library

var accessManager = new Twilio.AccessManager(token);
var client = new Twilio.Sync.Client(accessManager);