Skip to content

Instantly share code, notes, and snippets.

@hellwolf
Created November 10, 2016 09:34
Show Gist options
  • Save hellwolf/2f9384b228bccdd7e05fa6c96b68afb3 to your computer and use it in GitHub Desktop.
Save hellwolf/2f9384b228bccdd7e05fa6c96b68afb3 to your computer and use it in GitHub Desktop.
sync.gs
function GetSyncListItems(serviceInstanceId, listId, accountSid, authToken) {
var url = "https://preview.twilio.com/Sync/Services/" + serviceInstanceId + "/Lists/" + listId + "/Items";
var result = ImportJSON(url, "", "", accountSid, authToken);
return result;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment