Components
Import components via a file
For more information about importing components via a file please see: https://www.dittowords.com/docs/importing-string-files. The request body must be of type multipart/form-data.
POST
/
components
/
file
Authorizations
Query Parameters
The API ID of the folder you want to import components into. If not specified, components will be imported into the root of your component library.
Body
multipart/form-data
The absolute path to the file you want to import. Postman and other tools support directly uploading files, but if you're using cURL you'll need to use the @
prefix, e.g. curl -F import=@/path/to/file.json