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 create a Sync Map?

Objective

This article helps you create a Sync Map inside one of your Sync Services. A Sync Map stores key/value items that stay in sync across every subscribed client, which suits data you look up by a key you choose yourself.

 

Product

Twilio Sync

 

Environment

Twilio Console

 

User Account Permission/Role(s) Required

Your user role must allow listing Twilio Sync Services to open the Maps tab, and creating them to add a Map.

 

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 the Map belongs in.
  4. Select the Maps tab.
  5. Select Create new Sync Map.
  6. In Unique name, optionally enter a name that is unique within this Service. You can use it in place of the SID to address the Map, and it cannot be changed later.
  7. In Time to live, optionally enter how long in seconds before the Map expires and is deleted. Enter 0 for a Map that never expires.
  8. Select Create. The console confirms the new Map's SID and the Map appears in the table.
  9. Select the Map's SID to open it, where you manage its items and permissions.

 

Additional Information

  • Time to live must be a whole number of seconds between 0 and 31536000 (one year). A value outside that range is reported as "Input should be between 0 and 31536000 seconds" and the Map is not created.
  • The unique name can be up to 320 characters. A Map created without one is addressed by its SID.
  • The Maps table shows 10 rows per page by default, and you can switch to 40 or 100.

 

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

Have more questions? Submit a request
Powered by Zendesk