# Microsoft SharePoint Sites.content Type API

**Canonical:** https://apis.io/apis/sharepoint/sharepoint-sites-contenttype-api/  
**Provider:** Microsoft SharePoint — https://apis.io/providers/sharepoint/  
**Base URL:** https://graph.microsoft.com/v1.0  
**Documentation:** https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/complete-basic-operations-using-sharepoint-client-library-code

Microsoft SharePoint Sites.content Type API is one of 23 APIs that [Microsoft SharePoint](https://apis.io/providers/sharepoint/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 5 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an API reference, and 5 JSON Schemas.

The sites.contentType API from Microsoft SharePoint — 26 operation(s) for sites.contenttype.

## Operations (36)

| Method | Path | Summary |
|---|---|---|
| GET | `/sites/{site-id}/contentTypes` | List contentTypes in a site |
| POST | `/sites/{site-id}/contentTypes` | Create a content type |
| GET | `/sites/{site-id}/contentTypes/{contentType-id}` | Get contentType |
| PATCH | `/sites/{site-id}/contentTypes/{contentType-id}` | Update contentType |
| DELETE | `/sites/{site-id}/contentTypes/{contentType-id}` | Delete contentType |
| GET | `/sites/{site-id}/contentTypes/{contentType-id}/base` | Get base from sites |
| GET | `/sites/{site-id}/contentTypes/{contentType-id}/baseTypes` | Get baseTypes from sites |
| GET | `/sites/{site-id}/contentTypes/{contentType-id}/baseTypes/{contentType-id1}` | Get baseTypes from sites |
| GET | `/sites/{site-id}/contentTypes/{contentType-id}/baseTypes/$count` | Get the number of the resource |
| GET | `/sites/{site-id}/contentTypes/{contentType-id}/columnLinks` | Get columnLinks from sites |
| POST | `/sites/{site-id}/contentTypes/{contentType-id}/columnLinks` | Create new navigation property to columnLinks for sites |
| GET | `/sites/{site-id}/contentTypes/{contentType-id}/columnLinks/{columnLink-id}` | Get columnLinks from sites |
| PATCH | `/sites/{site-id}/contentTypes/{contentType-id}/columnLinks/{columnLink-id}` | Update the navigation property columnLinks in sites |
| DELETE | `/sites/{site-id}/contentTypes/{contentType-id}/columnLinks/{columnLink-id}` | Delete navigation property columnLinks for sites |
| GET | `/sites/{site-id}/contentTypes/{contentType-id}/columnLinks/$count` | Get the number of the resource |
| GET | `/sites/{site-id}/contentTypes/{contentType-id}/columnPositions` | Get columnPositions from sites |
| GET | `/sites/{site-id}/contentTypes/{contentType-id}/columnPositions/{columnDefinition-id}` | Get columnPositions from sites |
| GET | `/sites/{site-id}/contentTypes/{contentType-id}/columnPositions/$count` | Get the number of the resource |
| GET | `/sites/{site-id}/contentTypes/{contentType-id}/columns` | List columnDefinitions in a content type |
| POST | `/sites/{site-id}/contentTypes/{contentType-id}/columns` | Create a columnDefinition in a content type |
| GET | `/sites/{site-id}/contentTypes/{contentType-id}/columns/{columnDefinition-id}` | Get columnDefinition |
| PATCH | `/sites/{site-id}/contentTypes/{contentType-id}/columns/{columnDefinition-id}` | Update columnDefinition |
| DELETE | `/sites/{site-id}/contentTypes/{contentType-id}/columns/{columnDefinition-id}` | Delete columnDefinition |
| GET | `/sites/{site-id}/contentTypes/{contentType-id}/columns/{columnDefinition-id}/sourceColumn` | Get sourceColumn from sites |
| GET | `/sites/{site-id}/contentTypes/{contentType-id}/columns/$count` | Get the number of the resource |
| POST | `/sites/{site-id}/contentTypes/{contentType-id}/associateWithHubSites` | Invoke action associateWithHubSites |
| POST | `/sites/{site-id}/contentTypes/{contentType-id}/copyToDefaultContentLocation` | Invoke action copyToDefaultContentLocation |
| GET | `/sites/{site-id}/contentTypes/{contentType-id}/isPublished()` | Invoke function isPublished |
| POST | `/sites/{site-id}/contentTypes/{contentType-id}/publish` | Invoke action publish |
| POST | `/sites/{site-id}/contentTypes/{contentType-id}/unpublish` | Invoke action unpublish |
| GET | `/sites/{site-id}/contentTypes/$count` | Get the number of the resource |
| POST | `/sites/{site-id}/contentTypes/addCopy` | Invoke action addCopy |
| POST | `/sites/{site-id}/contentTypes/addCopyFromContentTypeHub` | Invoke action addCopyFromContentTypeHub |
| GET | `/sites/{site-id}/contentTypes/getCompatibleHubContentTypes()` | Invoke function getCompatibleHubContentTypes |
| GET | `/sites/{site-id}/getByPath(path='{path}')/contentTypes` | Get contentTypes from sites |
| POST | `/sites/{site-id}/getByPath(path='{path}')/contentTypes` | Create new navigation property to contentTypes for sites |

## Machine-readable artifacts (13)

- **OpenAPI** — https://artifacts.apis.io/sharepoint/openapi/sharepoint-sites-contenttype-api-openapi.yml
- **Documentation** — https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/complete-basic-operations-using-sharepoint-rest-endpoints
- **Authentication** — https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/authorization-and-authentication-of-sharepoint-add-ins
- **Documentation** — https://docs.microsoft.com/en-us/graph/api/resources/sharepoint
- **SDKs** — https://docs.microsoft.com/en-us/graph/sdks/sdks-overview
- **Authentication** — https://docs.microsoft.com/en-us/graph/auth/
- **Documentation** — https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service
- **Reference** — https://learn.microsoft.com/en-us/sharepoint/dev/apis/sharepoint-rest-graph
- **JSONSchema** — https://artifacts.apis.io/sharepoint/json-schema/sharepoint-microsoft-graph-column-definition-schema.json
- **JSONSchema** — https://artifacts.apis.io/sharepoint/json-schema/sharepoint-microsoft-graph-content-type-schema.json
- **JSONSchema** — https://artifacts.apis.io/sharepoint/json-schema/sharepoint-microsoft-graph-item-reference-schema.json
- **JSONSchema** — https://artifacts.apis.io/sharepoint/json-schema/sharepoint-microsoft-graph-column-link-schema.json
- **JSONSchema** — https://artifacts.apis.io/sharepoint/json-schema/sharepoint-base-collection-pagination-count-response-schema.json

## Other Microsoft SharePoint APIs (12)

- [SharePoint CSOM (Client-Side Object Model)](https://apis.io/apis/sharepoint/csom-client-side-object-model/)
- [SharePoint Webhooks API](https://apis.io/apis/sharepoint/webhooks-api/)
- [Microsoft Graph SharePoint Sites API](https://apis.io/apis/sharepoint/graph-sites-api/)
- [SharePoint Search REST API](https://apis.io/apis/sharepoint/search-api/)
- [SharePoint Framework (SPFx)](https://apis.io/apis/sharepoint/framework/)
- [Microsoft SharePoint Admin.edge API](https://apis.io/apis/sharepoint/sharepoint-admin-edge-api/)
- [Microsoft SharePoint Groups.group.Functions API](https://apis.io/apis/sharepoint/sharepoint-groups-group-functions-api/)
- [Microsoft SharePoint Groups.site API](https://apis.io/apis/sharepoint/sharepoint-groups-site-api/)
- [Microsoft SharePoint Sites.base Item API](https://apis.io/apis/sharepoint/sharepoint-sites-baseitem-api/)
- [Microsoft SharePoint Sites.base Site Page API](https://apis.io/apis/sharepoint/sharepoint-sites-basesitepage-api/)
- [Microsoft SharePoint Sites.column Definition API](https://apis.io/apis/sharepoint/sharepoint-sites-columndefinition-api/)
- [Microsoft SharePoint Sites.drive API](https://apis.io/apis/sharepoint/sharepoint-sites-drive-api/)

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/sharepoint` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

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