Content manage create type
Content manage create type, with the permissions the key’s creator has in DUMA today.
POST
https://api.duma-business.com/v1/manage/cms/content-typescontent:configureSecret key only
Request example
Example request
curl -X POST "https://api.duma-business.com/v1/manage/cms/content-types" \
-H "Authorization: Bearer dk_sec_…" \
-H "Content-Type: application/json" \
-d '{ … }'Request body
JSON, sent with Content-Type: application/json.
namestringRequired- 1–200 characters.
keystringRequired
Optional
descriptionstring | null- Can be null.
fieldsobject[]- Up to 100 items.
titleFieldstring | null- Can be null.
previewUrlstring | null- Can be null.
kindstringcollectionsingletonidempotencyKeystring- Stable unique request identifier. Reuse unchanged on retry. Requires Redis; retained results prevent duplicate writes. 8–128 characters.
Response
- 200Management result
- 201Created
- 204Deleted
- 400Validation failed — invalid request body
- 401Unauthorized — missing or invalid bearer token
- 403Scope, owner access, or module denied
- 409Version, reference or retry conflict
- 429Too many requests — rate limited