# dotCMS Content Type Field API

**Canonical:** https://apis.io/apis/dotcms/dotcms-content-type-field-api/  
**Provider:** dotCMS — https://apis.io/providers/dotcms/  
**Base URL:** https://demo.dotcms.com/api  
**Documentation:** https://dev.dotcms.com/docs/build/apis/api-basics/rest-apis

dotCMS Content Type Field API is one of 73 APIs that [dotCMS](https://apis.io/providers/dotcms/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Content Type Field. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

Content type field definitions and configuration

## Operations (36)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/v1/fieldTypes` | Get field types |
| GET | `/api/v1/contenttype/{typeId}/fields` | Get content type fields (deprecated) |
| PUT | `/api/v1/contenttype/{typeId}/fields` | Update content type fields (deprecated) |
| POST | `/api/v1/contenttype/{typeId}/fields` | Create content type field (deprecated) |
| DELETE | `/api/v1/contenttype/{typeId}/fields` | Delete multiple fields (deprecated) |
| GET | `/api/v1/contenttype/{typeId}/fields/id/{fieldId}` | Get content type field by ID (deprecated) |
| PUT | `/api/v1/contenttype/{typeId}/fields/id/{fieldId}` | Update content type field by ID (deprecated) |
| DELETE | `/api/v1/contenttype/{typeId}/fields/id/{fieldId}` | Delete content type field by ID (deprecated) |
| GET | `/api/v1/contenttype/{typeId}/fields/var/{fieldVar}` | Get content type field by variable name (deprecated) |
| PUT | `/api/v1/contenttype/{typeId}/fields/var/{fieldVar}` | Update content type field by variable name (deprecated) |
| DELETE | `/api/v1/contenttype/{typeId}/fields/var/{fieldVar}` | Delete content type field by variable name (deprecated) |
| GET | `/api/v1/contenttype/{typeId}/fields/id/{fieldId}/variables` | Get field variables by field ID |
| POST | `/api/v1/contenttype/{typeId}/fields/id/{fieldId}/variables` | Create field variable by field ID |
| GET | `/api/v1/contenttype/{typeId}/fields/var/{fieldVar}/variables` | Get field variables by field variable name |
| POST | `/api/v1/contenttype/{typeId}/fields/var/{fieldVar}/variables` | Create field variable by field variable name |
| GET | `/api/v1/contenttype/{typeId}/fields/id/{fieldId}/variables/id/{fieldVarId}` | Get specific field variable by field ID |
| PUT | `/api/v1/contenttype/{typeId}/fields/id/{fieldId}/variables/id/{fieldVarId}` | Update field variable by field ID |
| DELETE | `/api/v1/contenttype/{typeId}/fields/id/{fieldId}/variables/id/{fieldVarId}` | Delete field variable by field ID |
| GET | `/api/v1/contenttype/{typeId}/fields/var/{fieldVar}/variables/id/{fieldVarId}` | Get specific field variable by field variable name |
| PUT | `/api/v1/contenttype/{typeId}/fields/var/{fieldVar}/variables/id/{fieldVarId}` | Update field variable by field variable name |
| DELETE | `/api/v1/contenttype/{typeId}/fields/var/{fieldVar}/variables/id/{fieldVarId}` | Delete field variable by field variable name |
| GET | `/api/v2/contenttype/{typeIdOrVarName}/fields` | Get content type fields |
| PUT | `/api/v2/contenttype/{typeIdOrVarName}/fields` | Update fields |
| POST | `/api/v2/contenttype/{typeIdOrVarName}/fields` | Create content type field |
| DELETE | `/api/v2/contenttype/{typeIdOrVarName}/fields` | Delete fields |
| GET | `/api/v2/contenttype/{typeIdOrVarName}/fields/id/{fieldId}` | Get content type field by id |
| PUT | `/api/v2/contenttype/{typeIdOrVarName}/fields/id/{fieldId}` | Update content type field by id |
| DELETE | `/api/v2/contenttype/{typeIdOrVarName}/fields/id/{fieldId}` | Delete content type field by id |
| GET | `/api/v2/contenttype/{typeIdOrVarName}/fields/var/{fieldVar}` | Get content type field by var |
| PUT | `/api/v2/contenttype/{typeIdOrVarName}/fields/var/{fieldVar}` | Update content type field by var |
| DELETE | `/api/v2/contenttype/{typeIdOrVarName}/fields/var/{fieldVar}` | Delete content type field by var |
| GET | `/api/v3/contenttype/{typeIdOrVarName}/fields/allfields` | Returns filtered Content Type fields |
| GET | `/api/v3/contenttype/{typeIdOrVarName}/fields` | Gets a Content Type's field layout |
| DELETE | `/api/v3/contenttype/{typeIdOrVarName}/fields` | Deletes fields from a Content Type |
| PUT | `/api/v3/contenttype/{typeIdOrVarName}/fields/move` | Moves or adds a field to a Content Type |
| PUT | `/api/v3/contenttype/{typeIdOrVarName}/fields/{id}` | Updates a field in a Content Type |

## Machine-readable artifacts (7)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/dotcms/refs/heads/main/openapi/dotcms-content-type-field-api-openapi.yml
- **Documentation** — https://dev.dotcms.com/docs/build/apis/api-basics/rest-apis
- **DeveloperPortal** — https://dev.dotcms.com/
- **APIReference** — https://dev.dotcms.com/docs/build/apis/rest-apis/api-playground
- **ErrorCatalog** — https://raw.githubusercontent.com/api-evangelist/dotcms/refs/heads/main/errors/dotcms-problem-types.yml
- **DataModel** — https://raw.githubusercontent.com/api-evangelist/dotcms/refs/heads/main/data-model/dotcms-data-model.yml
- **Conventions** — https://raw.githubusercontent.com/api-evangelist/dotcms/refs/heads/main/conventions/dotcms-conventions.yml

## Other dotCMS APIs (12)

- [dotCMS GraphQL API](https://apis.io/apis/dotcms/graphql/)
- [dotCMS Accessibility Agent API](https://apis.io/apis/dotcms/dotcms-accessibility-agent-api/)
- [dotCMS Accessibility Checker API](https://apis.io/apis/dotcms/dotcms-accessibility-checker-api/)
- [dotCMS Administration API](https://apis.io/apis/dotcms/dotcms-administration-api/)
- [dotCMS AI API](https://apis.io/apis/dotcms/dotcms-ai-api/)
- [dotCMS Announcements API](https://apis.io/apis/dotcms/dotcms-announcements-api/)
- [dotCMS API Token API](https://apis.io/apis/dotcms/dotcms-api-token-api/)
- [dotCMS Apps API](https://apis.io/apis/dotcms/dotcms-apps-api/)
- [dotCMS Authentication API](https://apis.io/apis/dotcms/dotcms-authentication-api/)
- [dotCMS Browser Tree API](https://apis.io/apis/dotcms/dotcms-browser-tree-api/)
- [dotCMS Bundle API](https://apis.io/apis/dotcms/dotcms-bundle-api/)
- [dotCMS Cache Management API](https://apis.io/apis/dotcms/dotcms-cache-management-api/)

## Tags

Content Type Field

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/dotcms/dotcms-content-type-field-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/dotcms/.
