List content types
Lists the content types this key can read, with their public field definitions. Private fields are left out.
GET
https://api.duma-business.com/v1/cms/delivery/content-typescontent:readPublishable or secret key
Responses carry a weak ETag; send it back as If-None-Match to get 304 Not Modified. Cache-Control: private, max-age=30, stale-while-revalidate=120.
A key limited to some content types sees only those.
Request example
Example request
curl -X GET "https://api.duma-business.com/v1/cms/delivery/content-types" \
-H "Authorization: Bearer dk_pub_…"This endpoint takes no parameters.
Response
Response · 200
{
"data": [
{
"key": "blog-post",
"name": "Blog post",
"description": "News from the café",
"kind": "collection",
"titleField": "title",
"schemaVersion": 3,
"fields": [
{
"key": "title",
"label": "Title",
"type": "text",
"required": true
},
{
"key": "slug",
"label": "Slug",
"type": "slug",
"required": true,
"unique": true,
"slugSource": "title"
},
{
"key": "hero",
"label": "Hero image",
"type": "media",
"mediaGroups": [
"image"
]
},
{
"key": "body",
"label": "Body",
"type": "richText"
}
],
"updatedAt": "2026-10-12T16:30:00.000Z"
}
]
}