---
title: "CDA | Content Types"
description: "<p><a href=\"/docs/developers/create-content-types\">Content type</a> defines the structure or schema of a page or a section of your web or mobile property. To create content for your application, you are required to first create a content type, and then create entries using the content type.</p><p class=\"add-resource\"><strong>Additional Resource</strong>: To get an idea of building your content type as per webpage’s layout, we recommend you to check out our <a href=\"/docs/developers/how-to-guides/content-modeling\">Content Modeling</a> guide.</p><p>You can now pass the <span data-type='inlineCode'>branch</span> header in the API request to fetch or manage modules located within specific branches of the stack.</p><p class=\"note\"><strong>Note</strong>: <a href=\"/docs/developers/branches\">Branches</a> is a plan-based feature that is available only in the new Contentstack interface.</p><p>Additionally, you can also set the <span data-type='inlineCode'>include_branch</span> query parameter to true to include the <span data-type='inlineCode'>_branch</span> top-level key in the response. This key specifies the unique ID of the branch where the concerned Contentstack module resides.</p>"
url: "https://www.contentstack.com/docs/developers/apis/content-delivery-api/content-types"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-06-02"
---

# CDA | Content Types

[Content type](/docs/developers/create-content-types) defines the structure or schema of a page or a section of your web or mobile property. To create content for your application, you are required to first create a content type, and then create entries using the content type.

**Additional Resource**: To get an idea of building your content type as per webpage’s layout, we recommend you to check out our [Content Modeling](/docs/developers/how-to-guides/content-modeling) guide.

You can now pass the branch header in the API request to fetch or manage modules located within specific branches of the stack.

**Note**: [Branches](/docs/developers/branches) is a plan-based feature that is available only in the new Contentstack interface.

Additionally, you can also set the include\_branch query parameter to true to include the \_branch top-level key in the response. This key specifies the unique ID of the branch where the concerned Contentstack module resides.

## All Content Types

### Get all content types

**GET** `/content_types?include_count={boolean_value}`

The Get all content types call returns comprehensive information of all the content types available in a particular stack in your account.

When executing the API call, you can add queries to extend the functionality of this API call.

**Tip**: If any of your content types contains a Global field and you wish to fetch the content schema of the Global field, then you need to pass theinclude\_global\_field\_schema:true parameter. This parameter helps return the Global field's schema along with the content type schema.

To query your content types, under the Query Parameters section, insert a parameter named query and provide the query in JSON format as the value. To learn more about the queries, refer to the [Queries section of the Content Delivery API doc](/docs/developers/apis/content-delivery-api#queries).

**Note**: This API request will return a maximum of **100 content types**. To retrieve the next batch of content types, make use of the [skip](/docs/developers/apis/content-delivery-api#skip) parameter (or refer [Pagination](/docs/developers/apis/content-delivery-api#pagination) for more details).

#### Query Parameters

- **include_count** (required)
  Set this to 'true' to include in response the total count of content types available in your stack.
- **include_branch** (optional)
  Set this to true to include the \_branch top-level key in the response. This key states the unique ID of the branch where the concerned Contentstack module resides.

#### Headers

- **api_key** (required)
  Enter the API key of your stack.
  Default: `blt02f7b45378b008ee`
- **access_token** (required)
  Enter the environment-specific delivery token of your stack. Check [Authentication](#authentication).
  Default: `cs5b69faf35efdebd91d08bcf4`
- **branch** (optional)
  Enter your branch unique ID.
  Default: `main`

#### Sample Response

```json
{
  "content_types": [
    {
      "created_at": "2019-08-16T08:18:56.914Z",
      "updated_at": "2019-08-16T08:18:58.736Z",
      "title": "Product",
      "uid": "product",
      "_version": 2,
      "inbuilt_class": false,
      "schema": [
        {
          "display_name": "Title",
          "uid": "title",
          "data_type": "text",
          "mandatory": false,
          "unique": false,
          "field_metadata": {
            "_default": true,
            "instruction": "Product Name",
            "version": 3
          },
          "multiple": false,
          "non_localizable": false
        },
        {
          "display_name": "URL",
          "uid": "url",
          "data_type": "text",
          "mandatory": false,
          "field_metadata": {
            "_default": true,
            "version": 3
          },
          "multiple": false,
          "unique": false,
          "non_localizable": false
        },
        {
          "data_type": "text",
          "display_name": "Description",
          "uid": "description",
          "field_metadata": {
            "allow_rich_text": true,
            "description": "",
            "multiline": false,
            "rich_text_type": "advanced",
            "version": 3
          },
          "multiple": false,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        },
        {
          "data_type": "number",
          "display_name": "Size (in GB)",
          "uid": "size",
          "field_metadata": {
            "description": "",
            "default_value": ""
          },
          "multiple": false,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        },
        {
          "data_type": "text",
          "display_name": "Color",
          "uid": "color",
          "field_metadata": {
            "description": "",
            "default_value": "",
            "version": 3
          },
          "format": "",
          "multiple": false,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        },
        {
          "data_type": "file",
          "display_name": "Images",
          "uid": "images",
          "field_metadata": {
            "description": "",
            "rich_text_type": "standard",
            "image": true
          },
          "multiple": true,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        },
        {
          "data_type": "reference",
          "display_name": "Categories",
          "reference_to": [
            "category"
          ],
          "field_metadata": {
            "ref_multiple": true,
            "ref_multiple_content_types": true
          },
          "uid": "categories",
          "multiple": false,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        },
        {
          "data_type": "number",
          "display_name": "Price in USD",
          "uid": "price_in_usd",
          "field_metadata": {
            "description": "",
            "default_value": ""
          },
          "multiple": false,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        },
        {
          "data_type": "reference",
          "display_name": "Brand",
          "reference_to": [
            "brand"
          ],
          "field_metadata": {
            "ref_multiple": false,
            "ref_multiple_content_types": true
          },
          "uid": "brand",
          "multiple": false,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        },
        {
          "data_type": "isodate",
          "display_name": "Launch Date",
          "uid": "launch_date",
          "field_metadata": {
            "description": "",
            "default_value": ""
          },
          "multiple": false,
          "mandatory": false,
          "unique": false,
          "endDate": null,
          "startDate": null,
          "non_localizable": false
        },
        {
          "data_type": "boolean",
          "display_name": "instock",
          "uid": "instock",
          "field_metadata": {
            "description": "",
            "default_value": ""
          },
          "multiple": false,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        },
        {
          "data_type": "blocks",
          "display_name": "Additional Info",
          "blocks": [
            {
              "title": "Related Products",
              "uid": "related_products",
              "schema": [
                {
                  "data_type": "reference",
                  "display_name": "Products",
                  "reference_to": [
                    "product"
                  ],
                  "field_metadata": {
                    "ref_multiple": true,
                    "ref_multiple_content_types": true
                  },
                  "uid": "products",
                  "mandatory": false,
                  "multiple": false,
                  "unique": false,
                  "non_localizable": false
                }
              ]
            },
            {
              "title": "Rating",
              "uid": "rating",
              "schema": [
                {
                  "data_type": "number",
                  "display_name": "Stars",
                  "display_type": "dropdown",
                  "enum": {
                    "advanced": false,
                    "choices": [
                      {
                        "value": 1
                      },
                      {
                        "value": 2
                      },
                      {
                        "value": 3
                      },
                      {
                        "value": 4
                      },
                      {
                        "value": 5
                      }
                    ]
                  },
                  "multiple": false,
                  "uid": "stars",
                  "field_metadata": {
                    "description": "",
                    "default_value": ""
                  },
                  "min_instance": null,
                  "max_instance": null,
                  "mandatory": false,
                  "unique": false,
                  "non_localizable": false
                }
              ]
            },
            {
              "title": "Deals",
              "uid": "deals",
              "schema": [
                {
                  "data_type": "text",
                  "display_name": "Deal Name",
                  "display_type": "dropdown",
                  "enum": {
                    "advanced": false,
                    "choices": [
                      {
                        "value": "Summer Deal"
                      },
                      {
                        "value": "Independence Day Deal"
                      },
                      {
                        "value": "Black Friday Deal"
                      },
                      {
                        "value": "Christmas Deal"
                      },
                      {
                        "value": "Deals of the Day"
                      }
                    ]
                  },
                  "multiple": false,
                  "uid": "deal_name",
                  "field_metadata": {
                    "description": "",
                    "default_value": "",
                    "version": 3
                  },
                  "min_instance": null,
                  "max_instance": null,
                  "mandatory": false,
                  "unique": false,
                  "non_localizable": false
                },
                {
                  "data_type": "text",
                  "display_name": "Deal Details",
                  "uid": "deal_details",
                  "field_metadata": {
                    "description": "",
                    "default_value": "",
                    "multiline": true,
                    "version": 3
                  },
                  "format": "",
                  "error_messages": {
                    "format": ""
                  },
                  "multiple": false,
                  "mandatory": false,
                  "unique": false,
                  "non_localizable": false
                }
              ]
            }
          ],
          "multiple": true,
          "uid": "additional_info",
          "field_metadata": {},
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        },
        {
          "data_type": "group",
          "display_name": "Bank Offers",
          "field_metadata": {},
          "schema": [
            {
              "data_type": "reference",
              "display_name": "Bank",
              "reference_to": [
                "bank"
              ],
              "field_metadata": {
                "ref_multiple": false,
                "ref_multiple_content_types": true
              },
              "uid": "bank",
              "multiple": false,
              "mandatory": false,
              "unique": false,
              "non_localizable": false
            },
            {
              "data_type": "text",
              "display_name": "Card Type",
              "display_type": "dropdown",
              "enum": {
                "advanced": false,
                "choices": [
                  {
                    "value": "Credit Card"
                  },
                  {
                    "value": "Debit Card"
                  }
                ]
              },
              "multiple": true,
              "uid": "card_type",
              "field_metadata": {
                "description": "",
                "default_value": "",
                "version": 3
              },
              "mandatory": false,
              "unique": false,
              "non_localizable": false
            },
            {
              "data_type": "number",
              "display_name": "Discount In Percentage",
              "uid": "discount_in_percentage",
              "field_metadata": {
                "description": "",
                "default_value": ""
              },
              "multiple": false,
              "mandatory": false,
              "unique": false,
              "non_localizable": false
            }
          ],
          "uid": "bank_offers",
          "multiple": true,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        }
      ],
      "last_activity": {
        "environments": [
          {
            "uid": "blta39a4441696e35e0",
            "details": [
              {
                "locale": "en-us",
                "time": "2019-08-23T13:02:25.439Z"
              }
            ]
          }
        ]
      },
      "maintain_revisions": true,
      "description": "",
      "DEFAULT_ACL": {
        "others": {
          "read": false,
          "create": false
        },
        "users": [
          {
            "uid": "bltb7dc5be19ed72dd9",
            "read": true,
            "sub_acl": {
              "read": true
            }
          }
        ]
      },
      "SYS_ACL": {
        "roles": [
          {
            "uid": "blt70c41dfd00924e9f",
            "read": true,
            "sub_acl": {
              "create": true,
              "read": true,
              "update": true,
              "delete": true,
              "publish": true
            },
            "update": true,
            "delete": true
          },
          {
            "uid": "blt954756afc76573d1",
            "read": true,
            "sub_acl": {
              "create": true,
              "read": true,
              "update": true,
              "delete": true,
              "publish": true
            },
            "update": true,
            "delete": true
          },
          {
            "uid": "blt5c82a78624ed860d",
            "read": true,
            "sub_acl": {
              "create": true,
              "read": true,
              "update": true,
              "delete": true,
              "publish": true
            }
          }
        ],
        "others": {
          "read": false,
          "create": false,
          "update": false,
          "delete": false,
          "sub_acl": {
            "read": false,
            "create": false,
            "update": false,
            "delete": false,
            "publish": false
          }
        }
      },
      "options": {
        "is_page": true,
        "singleton": false,
        "title": "title",
        "sub_title": [],
        "url_pattern": "/:title",
        "url_prefix": "/mobiles/"
      },
      "abilities": {
        "get_one_object": true,
        "get_all_objects": true,
        "create_object": true,
        "update_object": true,
        "delete_object": true,
        "delete_all_objects": true
      }
    },
    {
      "created_at": "2019-08-22T13:56:44.435Z",
      "updated_at": "2019-08-22T13:57:28.865Z",
      "title": "For Synchronization Calls",
      "uid": "for_synchronization_calls",
      "_version": 3,
      "inbuilt_class": false,
      "schema": [
        {
          "display_name": "Title",
          "uid": "title",
          "data_type": "text",
          "mandatory": true,
          "unique": true,
          "field_metadata": {
            "_default": true,
            "version": 3
          },
          "multiple": false,
          "non_localizable": false
        },
        {
          "display_name": "URL",
          "uid": "url",
          "data_type": "text",
          "mandatory": false,
          "field_metadata": {
            "_default": true,
            "version": 3
          },
          "multiple": false,
          "unique": false,
          "non_localizable": false
        },
        {
          "data_type": "text",
          "display_name": "Single line textbox",
          "uid": "single_line",
          "field_metadata": {
            "description": "",
            "default_value": "",
            "version": 3
          },
          "format": "",
          "error_messages": {
            "format": ""
          },
          "multiple": false,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        }
      ],
      "last_activity": {},
      "maintain_revisions": true,
      "description": "",
      "DEFAULT_ACL": {
        "others": {
          "read": false,
          "create": false
        },
        "users": [
          {
            "uid": "bltb7dc5be19ed72dd9",
            "read": true,
            "sub_acl": {
              "read": true
            }
          }
        ]
      },
      "SYS_ACL": {
        "roles": [
          {
            "uid": "blt70c41dfd00924e9f",
            "read": true,
            "sub_acl": {
              "create": true,
              "read": true,
              "update": true,
              "delete": true,
              "publish": true
            },
            "update": true,
            "delete": true
          },
          {
            "uid": "blt954756afc76573d1",
            "read": true,
            "sub_acl": {
              "create": true,
              "read": true,
              "update": true,
              "delete": true,
              "publish": true
            },
            "update": true,
            "delete": true
          },
          {
            "uid": "blt5c82a78624ed860d",
            "read": true,
            "sub_acl": {
              "create": true,
              "read": true,
              "update": true,
              "delete": true,
              "publish": true
            }
          }
        ],
        "others": {
          "read": false,
          "create": false,
          "update": false,
          "delete": false,
          "sub_acl": {
            "read": false,
            "create": false,
            "update": false,
            "delete": false,
            "publish": false
          }
        }
      },
      "options": {
        "is_page": true,
        "singleton": false,
        "title": "title",
        "sub_title": [],
        "url_pattern": "/:title",
        "url_prefix": "/"
      },
      "abilities": {
        "get_one_object": true,
        "get_all_objects": true,
        "create_object": true,
        "update_object": true,
        "delete_object": true,
        "delete_all_objects": true
      }
    },
    {
      "created_at": "2019-08-16T08:18:55.166Z",
      "updated_at": "2019-08-16T08:18:58.680Z",
      "title": "Category",
      "uid": "category",
      "_version": 2,
      "inbuilt_class": false,
      "schema": [
        {
          "display_name": "Title",
          "uid": "title",
          "data_type": "text",
          "mandatory": false,
          "unique": false,
          "field_metadata": {
            "_default": true,
            "instruction": "Category Name",
            "version": 3
          },
          "multiple": false,
          "non_localizable": false
        },
        {
          "data_type": "text",
          "display_name": "Description",
          "uid": "description",
          "field_metadata": {
            "allow_rich_text": true,
            "description": "",
            "multiline": false,
            "rich_text_type": "advanced",
            "version": 3
          },
          "multiple": false,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        }
      ],
      "last_activity": {},
      "maintain_revisions": true,
      "description": "",
      "DEFAULT_ACL": {
        "others": {
          "read": false,
          "create": false
        },
        "users": [
          {
            "uid": "bltb7dc5be19ed72dd9",
            "read": true,
            "sub_acl": {
              "read": true
            }
          }
        ]
      },
      "SYS_ACL": {
        "roles": [
          {
            "uid": "blt70c41dfd00924e9f",
            "read": true,
            "sub_acl": {
              "create": true,
              "read": true,
              "update": true,
              "delete": true,
              "publish": true
            },
            "update": true,
            "delete": true
          },
          {
            "uid": "blt954756afc76573d1",
            "read": true,
            "sub_acl": {
              "create": true,
              "read": true,
              "update": true,
              "delete": true,
              "publish": true
            },
            "update": true,
            "delete": true
          },
          {
            "uid": "blt5c82a78624ed860d",
            "read": true,
            "sub_acl": {
              "create": true,
              "read": true,
              "update": true,
              "delete": true,
              "publish": true
            }
          }
        ],
        "others": {
          "read": false,
          "create": false,
          "update": false,
          "delete": false,
          "sub_acl": {
            "read": false,
            "create": false,
            "update": false,
            "delete": false,
            "publish": false
          }
        }
      },
      "options": {
        "is_page": false,
        "singleton": false,
        "title": "title",
        "sub_title": []
      },
      "abilities": {
        "get_one_object": true,
        "get_all_objects": true,
        "create_object": true,
        "update_object": true,
        "delete_object": true,
        "delete_all_objects": true
      }
    },
    {
      "created_at": "2019-08-16T08:18:55.159Z",
      "updated_at": "2019-08-16T08:18:58.781Z",
      "title": "Brand",
      "uid": "brand",
      "_version": 2,
      "inbuilt_class": false,
      "schema": [
        {
          "display_name": "Title",
          "uid": "title",
          "data_type": "text",
          "mandatory": false,
          "unique": false,
          "field_metadata": {
            "_default": true,
            "description": "",
            "instruction": "Company Name",
            "version": 3
          },
          "multiple": false,
          "non_localizable": false
        },
        {
          "data_type": "file",
          "display_name": "Logo",
          "uid": "logo",
          "field_metadata": {
            "description": "",
            "rich_text_type": "standard"
          },
          "multiple": false,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        },
        {
          "data_type": "text",
          "display_name": "Description",
          "uid": "description",
          "field_metadata": {
            "allow_rich_text": true,
            "description": "",
            "multiline": false,
            "rich_text_type": "advanced",
            "version": 3
          },
          "multiple": false,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        },
        {
          "data_type": "text",
          "display_name": "Website",
          "uid": "website",
          "field_metadata": {
            "description": "",
            "default_value": "",
            "version": 3
          },
          "format": "",
          "multiple": false,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        },
        {
          "data_type": "text",
          "display_name": "Email",
          "uid": "email",
          "field_metadata": {
            "description": "",
            "default_value": "",
            "version": 3
          },
          "format": "",
          "multiple": false,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        },
        {
          "data_type": "number",
          "display_name": "Phone",
          "uid": "phone",
          "field_metadata": {
            "description": "",
            "default_value": ""
          },
          "multiple": false,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        },
        {
          "data_type": "group",
          "display_name": "Head Office Address",
          "field_metadata": {},
          "schema": [
            {
              "data_type": "text",
              "display_name": "Street",
              "uid": "street",
              "field_metadata": {
                "description": "",
                "default_value": "",
                "version": 3
              },
              "format": "",
              "multiple": false,
              "mandatory": false,
              "unique": false,
              "non_localizable": false
            },
            {
              "data_type": "text",
              "display_name": "City",
              "uid": "city",
              "field_metadata": {
                "description": "",
                "default_value": "",
                "version": 3
              },
              "format": "",
              "multiple": false,
              "mandatory": false,
              "unique": false,
              "non_localizable": false
            },
            {
              "data_type": "text",
              "display_name": "Country",
              "uid": "country",
              "field_metadata": {
                "description": "",
                "default_value": "",
                "version": 3
              },
              "format": "",
              "multiple": false,
              "mandatory": false,
              "unique": false,
              "non_localizable": false
            }
          ],
          "uid": "head_office_address",
          "multiple": false,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        }
      ],
      "last_activity": {},
      "maintain_revisions": true,
      "description": "",
      "DEFAULT_ACL": {
        "others": {
          "read": false,
          "create": false
        },
        "users": [
          {
            "uid": "bltb7dc5be19ed72dd9",
            "read": true,
            "sub_acl": {
              "read": true
            }
          }
        ]
      },
      "SYS_ACL": {
        "roles": [
          {
            "uid": "blt70c41dfd00924e9f",
            "read": true,
            "sub_acl": {
              "create": true,
              "read": true,
              "update": true,
              "delete": true,
              "publish": true
            },
            "update": true,
            "delete": true
          },
          {
            "uid": "blt954756afc76573d1",
            "read": true,
            "sub_acl": {
              "create": true,
              "read": true,
              "update": true,
              "delete": true,
              "publish": true
            },
            "update": true,
            "delete": true
          },
          {
            "uid": "blt5c82a78624ed860d",
            "read": true,
            "sub_acl": {
              "create": true,
              "read": true,
              "update": true,
              "delete": true,
              "publish": true
            }
          }
        ],
        "others": {
          "read": false,
          "create": false,
          "update": false,
          "delete": false,
          "sub_acl": {
            "read": false,
            "create": false,
            "update": false,
            "delete": false,
            "publish": false
          }
        }
      },
      "options": {
        "is_page": false,
        "singleton": false,
        "title": "title",
        "sub_title": []
      },
      "abilities": {
        "get_one_object": true,
        "get_all_objects": true,
        "create_object": true,
        "update_object": true,
        "delete_object": true,
        "delete_all_objects": true
      }
    },
    {
      "created_at": "2019-08-16T08:18:55.164Z",
      "updated_at": "2019-08-16T08:18:58.691Z",
      "title": "Bank",
      "uid": "bank",
      "_version": 2,
      "inbuilt_class": false,
      "schema": [
        {
          "display_name": "Title",
          "uid": "title",
          "data_type": "text",
          "mandatory": false,
          "unique": false,
          "field_metadata": {
            "_default": true,
            "version": 3
          },
          "multiple": false,
          "non_localizable": false
        },
        {
          "data_type": "file",
          "display_name": "Logo",
          "uid": "logo",
          "extensions": [],
          "field_metadata": {
            "description": "",
            "rich_text_type": "standard"
          },
          "multiple": false,
          "mandatory": false,
          "unique": false,
          "non_localizable": false
        }
      ],
      "last_activity": {},
      "maintain_revisions": true,
      "description": "",
      "DEFAULT_ACL": {
        "others": {
          "read": false,
          "create": false
        },
        "users": [
          {
            "uid": "bltb7dc5be19ed72dd9",
            "read": true,
            "sub_acl": {
              "read": true
            }
          }
        ]
      },
      "SYS_ACL": {
        "roles": [
          {
            "uid": "blt70c41dfd00924e9f",
            "read": true,
            "sub_acl": {
              "create": true,
              "read": true,
              "update": true,
              "delete": true,
              "publish": true
            },
            "update": true,
            "delete": true
          },
          {
            "uid": "blt954756afc76573d1",
            "read": true,
            "sub_acl": {
              "create": true,
              "read": true,
              "update": true,
              "delete": true,
              "publish": true
            },
            "update": true,
            "delete": true
          },
          {
            "uid": "blt5c82a78624ed860d",
            "read": true,
            "sub_acl": {
              "create": true,
              "read": true,
              "update": true,
              "delete": true,
              "publish": true
            }
          }
        ],
        "others": {
          "read": false,
          "create": false,
          "update": false,
          "delete": false,
          "sub_acl": {
            "read": false,
            "create": false,
            "update": false,
            "delete": false,
            "publish": false
          }
        }
      },
      "options": {
        "is_page": false,
        "singleton": false,
        "title": "title",
        "sub_title": []
      },
      "abilities": {
        "get_one_object": true,
        "get_all_objects": true,
        "create_object": true,
        "update_object": true,
        "delete_object": true,
        "delete_all_objects": true
      }
    }
  ]
}
```

## Single Content Type

### Get a single content type

**GET** `/content_types/{content_type_uid}`

This call returns information of a specific content type. It returns the content type schema, but does not include its entries.

#### URL Parameters

- **content_type_uid** (required)
  Enter the unique ID of the content type of which you wish to retrieve the details. The uid is generated based on the title of the content type. The unique ID of a content type is unique across a stack.

#### Query Parameters

- **include_branch** (optional)
  Set this to true to include the \_branch top-level key in the response. This key states the unique ID of the branch where the concerned Contentstack module resides.

#### Headers

- **api_key** (required)
  Enter the API key of your stack.
  Default: `blt02f7b45378b008ee`
- **access_token** (required)
  Enter the environment-specific delivery token of your stack. Check [Authentication](#authentication).
  Default: `cs5b69faf35efdebd91d08bcf4`
- **branch** (optional)
  Enter your branch unique ID.
  Default: `main`

#### Sample Response

```json
{
  "content_type": {
    "created_at": "2019-08-16T08:18:56.914Z",
    "updated_at": "2019-08-16T08:18:58.736Z",
    "title": "Product",
    "uid": "product",
    "_version": 2,
    "inbuilt_class": false,
    "schema": [
      {
        "display_name": "Title",
        "uid": "title",
        "data_type": "text",
        "mandatory": false,
        "unique": false,
        "field_metadata": {
          "_default": true,
          "instruction": "Product Name",
          "version": 3
        },
        "multiple": false,
        "non_localizable": false
      },
      {
        "display_name": "URL",
        "uid": "url",
        "data_type": "text",
        "mandatory": false,
        "field_metadata": {
          "_default": true,
          "version": 3
        },
        "multiple": false,
        "unique": false,
        "non_localizable": false
      },
      {
        "data_type": "text",
        "display_name": "Description",
        "uid": "description",
        "field_metadata": {
          "allow_rich_text": true,
          "description": "",
          "multiline": false,
          "rich_text_type": "advanced",
          "version": 3
        },
        "multiple": false,
        "mandatory": false,
        "unique": false,
        "non_localizable": false
      },
      {
        "data_type": "number",
        "display_name": "Size (in GB)",
        "uid": "size",
        "field_metadata": {
          "description": "",
          "default_value": ""
        },
        "multiple": false,
        "mandatory": false,
        "unique": false,
        "non_localizable": false
      },
      {
        "data_type": "text",
        "display_name": "Color",
        "uid": "color",
        "field_metadata": {
          "description": "",
          "default_value": "",
          "version": 3
        },
        "format": "",
        "multiple": false,
        "mandatory": false,
        "unique": false,
        "non_localizable": false
      },
      {
        "data_type": "file",
        "display_name": "Images",
        "uid": "images",
        "field_metadata": {
          "description": "",
          "rich_text_type": "standard",
          "image": true
        },
        "multiple": true,
        "mandatory": false,
        "unique": false,
        "non_localizable": false
      },
      {
        "data_type": "reference",
        "display_name": "Categories",
        "reference_to": [
          "category"
        ],
        "field_metadata": {
          "ref_multiple": true,
          "ref_multiple_content_types": true
        },
        "uid": "categories",
        "multiple": false,
        "mandatory": false,
        "unique": false,
        "non_localizable": false
      },
      {
        "data_type": "number",
        "display_name": "Price in USD",
        "uid": "price_in_usd",
        "field_metadata": {
          "description": "",
          "default_value": ""
        },
        "multiple": false,
        "mandatory": false,
        "unique": false,
        "non_localizable": false
      },
      {
        "data_type": "reference",
        "display_name": "Brand",
        "reference_to": [
          "brand"
        ],
        "field_metadata": {
          "ref_multiple": false,
          "ref_multiple_content_types": true
        },
        "uid": "brand",
        "multiple": false,
        "mandatory": false,
        "unique": false,
        "non_localizable": false
      },
      {
        "data_type": "isodate",
        "display_name": "Launch Date",
        "uid": "launch_date",
        "field_metadata": {
          "description": "",
          "default_value": ""
        },
        "multiple": false,
        "mandatory": false,
        "unique": false,
        "endDate": null,
        "startDate": null,
        "non_localizable": false
      },
      {
        "data_type": "boolean",
        "display_name": "instock",
        "uid": "instock",
        "field_metadata": {
          "description": "",
          "default_value": ""
        },
        "multiple": false,
        "mandatory": false,
        "unique": false,
        "non_localizable": false
      },
      {
        "data_type": "blocks",
        "display_name": "Additional Info",
        "blocks": [
          {
            "title": "Related Products",
            "uid": "related_products",
            "schema": [
              {
                "data_type": "reference",
                "display_name": "Products",
                "reference_to": [
                  "product"
                ],
                "field_metadata": {
                  "ref_multiple": true,
                  "ref_multiple_content_types": true
                },
                "uid": "products",
                "mandatory": false,
                "multiple": false,
                "unique": false,
                "non_localizable": false
              }
            ]
          },
          {
            "title": "Rating",
            "uid": "rating",
            "schema": [
              {
                "data_type": "number",
                "display_name": "Stars",
                "display_type": "dropdown",
                "enum": {
                  "advanced": false,
                  "choices": [
                    {
                      "value": 1
                    },
                    {
                      "value": 2
                    },
                    {
                      "value": 3
                    },
                    {
                      "value": 4
                    },
                    {
                      "value": 5
                    }
                  ]
                },
                "multiple": false,
                "uid": "stars",
                "field_metadata": {
                  "description": "",
                  "default_value": ""
                },
                "min_instance": null,
                "max_instance": null,
                "mandatory": false,
                "unique": false,
                "non_localizable": false
              }
            ]
          },
          {
            "title": "Deals",
            "uid": "deals",
            "schema": [
              {
                "data_type": "text",
                "display_name": "Deal Name",
                "display_type": "dropdown",
                "enum": {
                  "advanced": false,
                  "choices": [
                    {
                      "value": "Summer Deal"
                    },
                    {
                      "value": "Independence Day Deal"
                    },
                    {
                      "value": "Black Friday Deal"
                    },
                    {
                      "value": "Christmas Deal"
                    },
                    {
                      "value": "Deals of the Day"
                    }
                  ]
                },
                "multiple": false,
                "uid": "deal_name",
                "field_metadata": {
                  "description": "",
                  "default_value": "",
                  "version": 3
                },
                "min_instance": null,
                "max_instance": null,
                "mandatory": false,
                "unique": false,
                "non_localizable": false
              },
              {
                "data_type": "text",
                "display_name": "Deal Details",
                "uid": "deal_details",
                "field_metadata": {
                  "description": "",
                  "default_value": "",
                  "multiline": true,
                  "version": 3
                },
                "format": "",
                "error_messages": {
                  "format": ""
                },
                "multiple": false,
                "mandatory": false,
                "unique": false,
                "non_localizable": false
              }
            ]
          }
        ],
        "multiple": true,
        "uid": "additional_info",
        "field_metadata": {},
        "mandatory": false,
        "unique": false,
        "non_localizable": false
      },
      {
        "data_type": "group",
        "display_name": "Bank Offers",
        "field_metadata": {},
        "schema": [
          {
            "data_type": "reference",
            "display_name": "Bank",
            "reference_to": [
              "bank"
            ],
            "field_metadata": {
              "ref_multiple": false,
              "ref_multiple_content_types": true
            },
            "uid": "bank",
            "multiple": false,
            "mandatory": false,
            "unique": false,
            "non_localizable": false
          },
          {
            "data_type": "text",
            "display_name": "Card Type",
            "display_type": "dropdown",
            "enum": {
              "advanced": false,
              "choices": [
                {
                  "value": "Credit Card"
                },
                {
                  "value": "Debit Card"
                }
              ]
            },
            "multiple": true,
            "uid": "card_type",
            "field_metadata": {
              "description": "",
              "default_value": "",
              "version": 3
            },
            "mandatory": false,
            "unique": false,
            "non_localizable": false
          },
          {
            "data_type": "number",
            "display_name": "Discount In Percentage",
            "uid": "discount_in_percentage",
            "field_metadata": {
              "description": "",
              "default_value": ""
            },
            "multiple": false,
            "mandatory": false,
            "unique": false,
            "non_localizable": false
          }
        ],
        "uid": "bank_offers",
        "multiple": true,
        "mandatory": false,
        "unique": false,
        "non_localizable": false
      }
    ],
    "last_activity": {
      "environments": [
        {
          "uid": "blta39a4441696e35e0",
          "details": [
            {
              "locale": "en-us",
              "time": "2019-08-23T13:02:25.439Z"
            }
          ]
        }
      ]
    },
    "maintain_revisions": true,
    "description": "",
    "DEFAULT_ACL": {
      "others": {
        "read": false,
        "create": false
      },
      "users": [
        {
          "uid": "bltb7dc5be19ed72dd9",
          "read": true,
          "sub_acl": {
            "read": true
          }
        }
      ]
    },
    "SYS_ACL": {
      "roles": [
        {
          "uid": "blt70c41dfd00924e9f",
          "read": true,
          "sub_acl": {
            "create": true,
            "read": true,
            "update": true,
            "delete": true,
            "publish": true
          },
          "update": true,
          "delete": true
        },
        {
          "uid": "blt954756afc76573d1",
          "read": true,
          "sub_acl": {
            "create": true,
            "read": true,
            "update": true,
            "delete": true,
            "publish": true
          },
          "update": true,
          "delete": true
        },
        {
          "uid": "blt5c82a78624ed860d",
          "read": true,
          "sub_acl": {
            "create": true,
            "read": true,
            "update": true,
            "delete": true,
            "publish": true
          }
        }
      ],
      "others": {
        "read": false,
        "create": false,
        "update": false,
        "delete": false,
        "sub_acl": {
          "read": false,
          "create": false,
          "update": false,
          "delete": false,
          "publish": false
        }
      }
    },
    "options": {
      "is_page": true,
      "singleton": false,
      "title": "title",
      "sub_title": [],
      "url_pattern": "/:title",
      "url_prefix": "/mobiles/"
    },
    "abilities": {
      "get_one_object": true,
      "get_all_objects": true,
      "create_object": true,
      "update_object": true,
      "delete_object": true,
      "delete_all_objects": true
    }
  }
}
```