Get content type by ID
const url = 'https://example.com/api/content/management/types/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/content/management/types/example \ --header 'Authorization: Bearer <token>'Retrieves a specific content type definition
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Type ID
Responses
Section titled “Responses”Type retrieved successfully
object
Unique type identifier
Type name
Human-readable type name
API-friendly name (camelCase)
Type description
Type-level settings
object
Whether this type represents a site page
Whether type is locked for editing
Field definitions for this type
object
Field name (used as key)
Human-readable field label
Field data type
Whether field is required
Whether field is indexed for search
Whether field is hidden in the UI
Whether field is read-only
Default field value
Whether field accepts single or multiple values
Field-specific settings
object
CAAS-specific settings
object
Custom validation rules
CAAS field description
Editor configuration
object
Value count range constraint
Custom editor settings
object
Whether custom editor is enabled
Custom editor URL
For reference fields: the target content type
Whether multiple values are allowed
Maximum character length
Minimum numeric value
Maximum numeric value
For reference fields: the target content type(s)
object
Referenced single asset type
Referenced multiple asset types
Rich text editor configuration (TinyMCE)
object
Editor height in pixels
TinyMCE plugins to enable
Toolbar configuration string
Show TinyMCE promotion
Use relative URLs
Convert URLs
Allowed link reference types for rich text
Allowed image reference types for rich text
Available options for select fields
object
Option display name
Option value
Only show detail pages in site page picker
For datetime fields: capture hour and minute along with the date
Whether to use custom JSON form editor
Custom JSON form definition (svelte-formly format)
Example
{ "id": "uuid-123", "name": "Article", "displayName": "News Article", "apiName": "article", "fields": []}