profound-logoProfound CMS
⌘K
Admin
Theme
DocsTutorialBlogPhilosophy
DocsTutorialBlogPhilosophy

Hybrid

Collection of Pages with ComponentsTypes of ComponentsSetup server sent events (SSE) content refetchInstall Profound CMS as a proxyCEL Scripting in Template BuilderProject ScaffoldingMedia Library

Headless

Quick startSplit Screen JSON Component Builder with LLMComponent Zod Pull

REST API

REST API OverviewgetConnect your websitegetGET /routesgetGET /routegetGET /blocksgetGET /blocks/with-cel-cachegetGET /blocks/generatedgetGET /componentsgetGET /components/{name}getGET /dataset/{schema_name}getGET /content-changes (SSE)patchPATCH /dataset/{schema_name}postPOST /translationpatchPATCH /translationsgetGET /usagepostPOST /csvpatchPATCH /csv
All Systems Operational
Powered Byprofound-logo
Theme

GET /components/{name}

Fetch a single custom component's full field definition by name.

Fetch a single custom component's full definition by name, including its field list.

Auth: API key (x-api-key header or api_key query param).

Path parameters

ParamTypeRequiredNotes
namestringyesThe schema name, e.g. post.

Query parameters

ParamTypeRequiredNotes
websiteIduuidyesMust be a valid UUID.
api_keystringnoAlternative to the x-api-key header.

Response

{
  "id": "...",
  "name": "post",
  "displayName": "Post",
  "description": "A documentation Post",
  "category": "Custom",
  "titleField": "title",
  "routeSlugField": "title",
  "icon": null,
  "fields": [
    { "name": "title", "type": "string", "required": true }
  ],
  "slugFields": ["title", "description"],
  "version": 8
}

slugFields is computed β€” the names of all string-typed fields.

Example

curl '{CMS_API_URL}/components/post?websiteId=<uuid>' \
  -H 'x-api-key: <key>'

Errors

  • 400 β€” missing or invalid websiteId
  • 401 β€” invalid API key
  • 404 β€” schema not found
Continue Reading
Previousβ€ΉGET /componentsNextGET /dataset/{schema_name}β€Ί