Retrieves a paginated list of content types. Optionally filter results using a search query, or retrieve specific content types by supplying one or more id parameters. The search and id parameters are mutually exclusive. When id is supplied, only the first 50 IDs are processed and pagination is disabled.
Security
Bearer
One or more root item IDs used to limit content type results to a specific content hierarchy. Results include content models found under any of the specified root items and their descendants. rootItemId is ignored when id is supplied.
Example:rootItemId=497f6eca-6276-4993-bfeb-53cbbbba6f08
- Production serverhttps://edge-platform.sitecorecloud.io/authoring/api/v1/content-types
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://edge-platform.sitecorecloud.io/authoring/api/v1/content-types?environmentId=main&search=page&id=497f6eca-6276-4993-bfeb-53cbbbba6f08&rootItemId=497f6eca-6276-4993-bfeb-53cbbbba6f08&pageSize=10' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'x-sc-continuation: MXx8fDEwMA=='Response
{ "count": 10, "next": "token-from-previous-response", "models": [ { … } ] }