Skip to content
EN

Using Integration API

Last updated

This page explains how to attach an integration token to your requests and access CMS data with authentication via Integration API.

Integration API authenticates using an integration token. First, issue an integration token for the target project (and workspace, if needed) in the Re:Earth CMS management console. See Creating an Integration for the steps.

As a first check, let’s retrieve a list of items with Integration API. Attach your issued integration token to the Authorization header. Replace the angle-bracketed placeholders such as <workspace_id_or_alias> with your actual values.

Terminal window
curl --location --request GET \
'https://api.cms.reearth.io/api/<workspace_id_or_alias>/projects/<project_id_or_alias>/models/<model_id_or_key>/items' \
--header 'Authorization: Bearer <your_integration_token>'