Skip to main content
POST
Update CRDT Data
Use this API to replace existing CRDT editor data on the backend. The update creates proper CRDT operations on the existing document state so connected clients can pick up the change. Use it with the Multiplayer Editing (Yjs) feature.

Endpoint

POST https://api.velt.dev/v2/crdt/update

Headers

string
required
Your API key.
string
required

Body Parameters

object
required

Example Requests

Text (e.g., CodeMirror):
Map (e.g., ReactFlow):
Array:
XML (e.g., TipTap):

Response

Success Response

Error Responses

No CRDT data found for the given editor ID:
Invalid arguments: