CDA (Content Delivery API)
Last updated: July 3, 2026
The CDA (Content Delivery API) is a read-only API that delivers published Content, Media, and more to visitors. Once the operator of a Space creates and publishes content in the content studio or via CMA, websites and apps read that published version through CDA and show it on screen. Creating, editing, and publishing are handled by CMA, not CDA.
The base URL is https://cda.weegloo.com/v1. Authentication typically uses a least-privilege DeliveryAccessToken, a token that holds only the scope it needs so it is safe for public browser delivery. A Weegloo User Bearer token can also read from CDA, but it is over-privileged for browser distribution, so a DeliveryAccessToken is recommended.
Common behavior
The following applies across all CDA resources. Each resource page assumes this behavior and covers only its own specifics.
-
Read-only. Every endpoint is a read (GET). Writing and publishing are the responsibility of CMA.
-
Only published items are visible. Content, Media, and Content Type are delivered only as published snapshots. CMA's Draft or unpublished changes do not appear on CDA.
-
Published-snapshot
sys. Thesysof those three resources has no managementversion,status, orpublish; it has onlyrevision, which points to the version at the time it was made public. (Locale is not a publication target but a configuration resource, so it keepsversionas is.) -
Selecting a language with
locale. Content and Media reads use thelocalequery parameter to choose which language to receive. It behaves in three ways.- Given a code such as
locale=ko-KR,fieldscomes back as a single value for that locale (not a locale map). If there is no value and the Fallback does not reach one either, that field is empty ornull. - Omitted, it returns the same way for the Space's default Locale.
- Given
locale=*, it does not pick a single language and returns the map holding all locale values ({ apiName: { locale: value } }) as is.
In the first two cases, where a single language is returned, the response carries an
x-weegloo-localeheader that reports the locale actually used (it is absent whenlocale=*). (Content Type is the schema of the template, so it does not takelocale; Sync does not pick a language and delivers the locale map as is.) - Given a code such as
-
Author exposure. The
createdByandupdatedByof a Content are delivered only when thepublishWithAuthorof its Content Type is on. Media always omits author information.
Resources
- Content Type: Reads published Content Type (the template and field definitions of content).
- Content: Reads published Content as a full list, as a single item, and by Content Type.
- Media: Reads published Media (file assets) and their delivery URLs.
- Locale: Reads the language settings a Space supports (
code, whether it is the default, andfallbackCode). Because it is a configuration resource, itssyscarriesversion. - Sync: Incremental sync that fetches only what changed and was deleted since the last sync. It delivers values as a locale map and does not resolve them by
locale.
Related documents
- CMA Content Type: The management API for creating, editing, and publishing the template and the content.
- ACDA: The version that performs the same delivery under a member (ServiceUser) identity.
