Skip to main content
POST
Convert a tldraw snapshot to hierarchical XML

Authorizations

X-API-Key
string
header
required

Headers

customer
string
required

Workspace identifier

Body

application/json
snapshot
object
required

A tldraw StoreSnapshot JSON object ({ store, schema }) as returned by editor.store.getStoreSnapshot() or the /convert/drawio-to-tldraw endpoint.

name
string

Optional diagram name used as the root attribute.

Response

200 - application/json

Hierarchical XML string representing the diagram structure

xml
string