Preview a draft
Returns one draft entry for a shared preview link. The token comes from a “Preview on site” link (?duma_preview=), names one entry and expires.
GET
https://api.duma-business.com/v1/cms/delivery/preview/{token}No key needed — the link itself is the permission
Keyless — the token carries its own authority, so a site page can call it from the browser.
An invalid or expired link is a 401.
Sent with Cache-Control: no-store and X-Robots-Tag: noindex.
Request example
Example request
curl -X GET "https://api.duma-business.com/v1/cms/delivery/preview/{token}"Path parameters
tokenstringRequired- The signed preview token from the link.
Query parameters
includenumberDefault 1- How many levels of media and reference fields to resolve, 0–2.
Response
Response · 200
{
"data": {
"id": "4a8c2e6f-1b3d-4f5a-9c7e-2d4f6a8b0c1e",
"type": "blog-post",
"locale": "en",
"slug": "winter-menu-sneak-peek",
"createdAt": "2026-10-27T15:00:00.000Z",
"updatedAt": "2026-10-28T09:12:00.000Z",
"publishedAt": null,
"firstPublishedAt": null,
"fields": {
"title": "A sneak peek at our winter menu",
"slug": "winter-menu-sneak-peek",
"body": "<p>Mulled apple, gingerbread lattes…</p>"
},
"status": "draft",
"version": 2
},
"preview": {
"expiresAt": "2026-10-29T09:12:00.000Z"
}
}