‹div›RIOTS API
API

‹div›RIOTS API

Requirements

All API requests must be made over HTTPS on https://api.divriots.com/v1.

Base URL change. The API moved from https://api.cloud.divriots.com/v1 to https://api.divriots.com/v1. Update your base URL; requests and responses are otherwise unchanged.

Required HTTP Headers:

  • Content-Type: application/json or multipart/form-data
  • Authorization: Bearer {APIKEY}

Create your {APIKEY} here.

Supported conversions

Which output formats /convert can produce from each input:

Output →
Input ↓
figma-clipboardfigma-resthtml-inlinestyleshtml-tailwindcssimagepdfpptxpsd
ai✅✅✕✕✕✕✕✕
eps✅✅✕✕✕✕✕✕
fig✅✅✅✅✕✅✅✅
figma-clipboard✕✕✅✅✕✅✅✅
figma-rest✕✕✅✅✕✅✅✅
html✅✅✕✕✕✕✕✕
image✕✕✅✅✕✕✕✕
iwork✅✅✕✕✕✅✕✕
msoffice✅✅✕✕✕✅✕✕
openoffice✅✅✕✕✕✅✕✕
fw✅✅✕✕✕✕✕✕
idml✅✅✕✕✕✕✕✕
pdf✅✅✕✕✕✕✕✕
ps✅✅✕✕✕✕✕✕
psd✅✅✕✕✅✕✕✕
xd✅✅✕✕✕✕✕✕
emf✅✅✕✕✕✕✕✕
aep✅✕✕✕✕✕✕✕
cad✅✅✕✕✕✕✕✕
xps✅✅✕✕✕✕✕✕

✕ marks a combination the API does not support. See Pricing for what each conversion costs.

Formats

Input

  • ai — Adobe Illustrator file
  • eps — Encapsulated PostScript file
  • fig — Figma design file saved locally
  • figma-clipboard — A selection copied from the Figma canvas
  • figma-rest — JSON, structurally compatible with the Figma REST API (e.g. a JSON_REST_V1 node export), plus its image fills
  • html — HTML code file
  • image — Raster screenshot/mockup (PNG, JPEG, …)
  • iwork — Apple iWork document — Pages & Keynote (.pages, .key)
  • msoffice — Microsoft Office document — Word & PowerPoint (.docx, .doc, .pptx, .ppt, …)
  • openoffice — OpenDocument text or presentation (.odt, .odp)
  • fw — Adobe Fireworks PNG (.fw.png): pages, layers, text, vectors, bitmaps, symbols
  • idml — Adobe InDesign Markup (.idml): pages, master pages, layers, text, styles, images (an .indd is refused: save it as IDML)
  • pdf — PDF file
  • ps — PostScript file
  • psd — Adobe Photoshop file
  • xd — Adobe XD file, saved locally
  • emf — Windows metafile (EMF, WMF)
  • aep — After Effects project (.aep, .aet, .aepx, or a zip of the collected project)
  • cad — CAD drawing (DWG, DXF, DWF)
  • xps — XPS document

Output

  • figma-clipboard — Data that can be loaded into the clipboard and pasted onto the Figma canvas
  • figma-rest — JSON, structurally compatible with the Figma REST API
  • html-inlinestyles — Generated HTML using inline styles, delivered as a ZIP
  • html-tailwindcss — Generated HTML using Tailwind CSS, delivered as a ZIP
  • image — The document flattened to a single PNG at 1:1, optionally bounded by output.image_options
  • pdf — A print-ready PDF, one page per frame, with selectable text and embedded fonts
  • pptx — An editable PowerPoint deck, one slide per frame: real text boxes, native shapes, gradients and shadows
  • psd — A ZIP of layered Photoshop files, one per frame: every layer as Figma renders it, with its name, group, blend mode, opacity and masks
Last modified on