Skip to main content
PUT
Set a Sync Map item

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Path Parameters

name
string
required

Unique name of the Sync Map.

Pattern: ^[A-Za-z0-9._:-]+$
key
string
required

Key of the item within the map.

Pattern: ^[A-Za-z0-9._:-]+$

Body

application/json

Write body for updating a Sync Document or setting a Sync Map item.

data
object
required

Arbitrary JSON object payload carried by a Sync object or item. Every Sync value is a JSON map (matching Twilio Sync). The serialised payload must not exceed 64 KiB.

ttl
integer

Optional time-to-live in seconds (0 or omitted = no expiry).

Required range: 0 <= x <= 31536000

Response

200 - application/json

The set Sync Map item

data
object

A single key → JSON-value item within a Sync Map.

meta
object