Skip to content
EN

Registering local files as assets with Integration API

Last updated

This guide explains how to register a local image or file as an asset in Re:Earth CMS. Once registered, a file can be referenced from item fields or delivered via Public API.

Terminal window
curl -X POST \
'https://api.cms.reearth.io/api/<workspace>/projects/<project>/assets' \
--header 'Authorization: Bearer <your_integration_token>' \
--form 'file=@/path/to/file.jpg'

Select a file with the simple upload form and run the upload.

A simple asset upload form, with a file selected and an Upload button.

The asset is registered via Integration API and appears on the CMS’s Asset screen.

The Asset screen after registering an asset via Integration API, showing the uploaded file in the list.

For the full endpoint specification, see Integration API Reference.