Skip to content
Docs menu

Convert to ODG

OpenDocument Drawing. The API converts 5 formats to ODG. These are the options, by input format.

curl https://api.switchfile.io/v1/convert \
  -H "Authorization: Bearer $SWITCHFILE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/input.dxf","to":"odg"}'

From 5 formats

dxf, emf, fodg, otg, wmf

  • passwordstringdefault: not set

    Password to open the file.