Skip to main content
POST
Create Content Type

Path Parameters

organizationId
string
required
Organization ID
projectId
string
required
Project ID

Request Body

name
string
required
Display name for the content type (e.g., “Article”, “BlogPost”)
description
string
Structured markdown description for semantic search and LLM understanding
layoutComponentId
string
required
ID of the layout component that defines the structure
componentIdsAllowList
array
required
Array of component IDs or component groups that can be used within this content type
packageVersion
string
required
Version of package to use for component resolution
templateContentIds
string[]
Array of pre-built content example IDs
permissions
object
Access control settings
metadata
object
Additional type metadata

Example Request

New content types are created with draft status and null version. Use the publish endpoint to create the first published version.

Response

Returns the created ContentType object.

Error Responses

Component Not Found

Invalid Package Version

Invalid Component Allow List

Code Examples