DUMA/ API

Get a content type

Returns one content type’s schema: its kind, title field and public field definitions.

GEThttps://api.duma-business.com/v1/cms/delivery/content-types/{typeKey}

content: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 type that does not exist, or that the key may not read, is a 404.

Request example

Example request
curl -X GET "https://api.duma-business.com/v1/cms/delivery/content-types/{typeKey}" \
  -H "Authorization: Bearer dk_pub_…"

Path parameters

typeKeystringRequired
The content type’s key, e.g. blog-post.

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"
  }
}