This is a feature that allows you to bulk register content from a CSV file.
It can be used when migrating content from other CMSs or when registering content in bulk.
1: Create any API you like.

2: Click the [Import] button.

3: Click the link for the sample CSV file (input-format.csv) to download it.
The sample CSV file (input-format.csv) contains sample values based on the types of fields that are registered. Please use it during the import process.

4: Enter the content you want to register and update/save the CSV file.

5: Click the [Select File] button to load the CSV file you want to register.

6: Choose the status of the content to be imported (Draft or Published).

If you are using the role feature, the selectable items will vary depending on the granted "content" permissions.
7: Click the [Start Import of ◯ Items] button.

8: The import process will be executed. It may take a few minutes until the registration is complete.
9: If the process completes successfully, a message saying "Import Completed" will be displayed, and the content registration will be finished. If an error is displayed, please check the content of the error message.

1: Select any API
2: Click the [Import and Add] button

3: After this, the process will follow the same flow as steps 3 and beyond for new registrations.

You can register content using the CSV file exported from the content CSV export.
For the method of exporting CSV files, please refer to "Content CSV Export".
1: Remove and save the common columns except for the id from the exported CSV file.

2: After this, the process will follow the same flow as steps 5 and beyond for new registrations.
When importing an exported CSV file, there may be cases where the import fails, such as the following:
Field Name | Input Format | Input Example (*1) |
|---|---|---|
Text Field | Any text | Text |
Text Area | Any text | Enter multiple lines of text Hello |
Rich Editor | HTML string (*2) | <p>Enter multiple lines of text<br />Hello</p> |
Old Rich Editor | Any text (*3) | Enter multiple lines of text Hello |
Image | URL of the image distributed by microCMS (*4) | https://images.microcms-assets.io/assets/xxxx/yyyy/sample.png |
Multiple Images | Specify URLs of images distributed by microCMS, separated by commas (*5) | https://images.microcms-assets.io/assets/xxxx/yyyy/sample1.png, |
Date and Time | ISO format (ISO 8601) | 2024-01-01T00:00:00Z |
Boolean | TRUE or FALSE | TRUE |
Select Field | Elements set as options | Option 1 |
Select Field (Multiple Selection) | Specify elements set as options, separated by commas | Option 1,Option 2 |
Content Reference | Content ID of the referenced content | category01 |
Multiple Content References | Specify Content IDs of the referenced content, separated by commas | category01,category02 |
Number | Number | 100 |
Custom | JSON (only registerable keys) (*7) | {"fieldId":"xxxxxxxx","some_value": "xxxxxxxx"} |
Repeating | JSON array (only registerable keys) (*7) | [{"fieldId":"xxxxxxxx","some_value": "xxxxxxxx"},{"fieldId":"xxxxxxxx","some_value": "xxxxxxxx"}] |
File (*6) | URL of the file distributed by microCMS | https://files.microcms-assets.io/assets/xxxx/yyyy/manual.pdf |
Extended Field | JSON (only registerable keys) (*7) | {"id":"xxxxxxxx", "title":"xxxxxxxx", "description":"xxxxxxxx", "imageUrl":"https://images.microcms-assets.io/assets/xxxxxxxx/yyyyyyyy/sample1.png", "updatedAt":"2025-01-01T00:00:00.000Z","data":{"id": "123"}} |
" as "".During content import, the content is validated based on the rules set for each input field, just like when registering data from the management screen.
If there is even one error in the content to be imported, the process will be halted at that point, and the content will not be added.
In addition to the validation of each field, errors will also occur if there are issues with the data in the CSV file, such as the following:
In addition to CSV import, there is also the option to register content in bulk using the WRITE API.
We have detailed the features and distinctions of each method in the blog post below, so please take a look.