GUIDES

Formats and downloads

Every result offers a file for code (web) and one for a design tool's layers (design). Each of its formats downloads by its id.

curl
curl "https://api.vecsnap.com/v1/conversions/$ID/download?format=design" -H "Authorization: Bearer $VECSNAP_API_KEY"
# { "url": "https://files.vecsnap.com/…", "expiresIn": 3600, "filename": "logo.svg", "format": "design" }
  • as=svg (the default), as=pdf for print, as=png with size for a picture.
  • A link lasts expiresIn seconds: ask again for a fresh one, it is free.
  • /v1/vectorize answers files, a link to each SVG, valid until filesExpireAt.