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
- In the Twilio Console, select Builder tools in the left sidebar.
- Select Sync, then Services.
- In the Name column, select the Service the Map belongs in.
- Select the Maps tab.
- Select Create new Sync Map.
- 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.
- 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.
- Select Create. The console confirms the new Map's SID and the Map appears in the table.
- 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.