API Reference

The Solar Beam CMS public API lets you fetch content and submit leads from any frontend. All endpoints require an x-api-key header.

Base URL

https://cms.solarbeam.studio

Authentication

All requests must include your workspace API key in the x-api-key header. Generate a key in your workspace settings.

Example Request
curl https://cms.solarbeam.studio/api/public/collections \
  -H "x-api-key: your-api-key"

Error Responses

All endpoints return consistent error responses:

401Unauthorized
json
{ "error": "Invalid or missing API key" }
404Not Found
json
{ "error": "Resource not found" }
429Rate Limited
json
{ "error": "Too many requests. Please try again later." }

Endpoints