List a website's custom component (content-type schema) summaries.
List custom-component (content-type schema) summaries for a website, ordered by name. Only user-defined custom schemas are returned.
Auth: API key (x-api-key header or api_key query param).
| Param | Type | Required | Notes |
|---|---|---|---|
websiteId | uuid | yes | Must be a valid UUID. No Host/config fallback on this endpoint. |
state | string | no | Filter by lifecycle state: draft, active, or archived. |
api_key | string | no | Alternative to the x-api-key header. |
A JSON array of component summaries:
[
{
"id": "...",
"name": "post",
"displayName": "Post",
"description": "A documentation Post",
"category": "Custom",
"tags": [],
"fields": [],
"icon": null,
"source": "custom",
"version": 8,
"routeSlugField": "title"
}
]
source is always "custom". displayName falls back to name, and category defaults to "Custom", when unset.
curl '{CMS_API_URL}/components?websiteId=<uuid>&state=active' \
-H 'x-api-key: <key>'
400 β missing or invalid websiteId401 β invalid API key