SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

How do I view the data stored in a Sync Document?

Objective

This article helps you inspect a Sync Document its stored JSON payload, its current revision, and when it expires so you can confirm what your subscribed clients are seeing.

 

Product

Twilio Sync

 

Environment

Twilio Console

 

User Account Permission/Role(s) Required

Your user role must allow reading Twilio Sync Services.

 

Procedure

  1. In the Twilio Console, select Builder tools in the left sidebar.
  2. Select Sync, then Services.
  3. In the Name column, select the Service that holds the Document.
  4. Select the Documents tab.
  5. In the Unique name / SID column, select the Document you want to inspect. You can also open the row's actions menu and choose View details.
  6. Under Properties, review the Document's SID, Unique name (if it has one), Revision, Created by, Date created, Date updated, and Date expires.
  7. Under Data, read the stored JSON payload. Select Copy to copy the whole payload to your clipboard.

 

Additional Information

  • The Data panel is read-only. To change the payload, select Edit data.
  • Date expires shows Never when the Document has no expiry set.
  • Revision changes every time the Document's data is updated. It is what Sync uses to reject conflicting concurrent edits.
  • A Document with no payload shows "This Document has no data." instead of a JSON block.

 

This content was generated by AI and reviewed, edited, and verified by a human.

Have more questions? Submit a request
Powered by Zendesk