Getting started
Getting Started with uHeadless
Section titled “Getting Started with uHeadless”uHeadless is a headless CMS API for Umbraco, enabling you to access your Umbraco content through a flexible API. This guide will help you connect your project to uHeadless.
Accessing the API
Section titled “Accessing the API”Once uHeadless is setup for your project, your uHeadless API will be available at https://api.uheadless.com. You can use fetch if using javascript or any HTTP library available for your programming language.
Basic Query Example
Section titled “Basic Query Example”Here’s a simple query to get started:
fetch(`https://api.uheadless.com/api?token=${UHEADLESS_API_KEY}`)About the api key
Section titled “About the api key”API keys generated with the “read-only” scope a designed to be used both server side and client side. This means that it’s not necessary to secure the API key behind a proxy and can be used directly in your project.