POST
/
components
/
file

Authorizations

Authorization
string
headerrequired

Query Parameters

folderId
string

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
import
string

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

Response

200 - application/json
componentsInserted
number
required
firstImportedId
required