---
title: Get a common draft of a content by given content reference and language.
slug: cms-12/api/get-a-common-draft-of-a-content-by-given-content-reference-and-language
docTags: 
createdAt: 2026-08-28T13:16:06.833Z
---

{
  "id": "nBQGawiMmADqyq5PxJ-oh",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentReference}",
    "servers": [
      {
        "url": "http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentReference}"
      }
    ],
    "name": "Get a common draft of a content by given content reference and language.",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "contentReference",
          "type": "string",
          "description": "A reference to the content item that should be retrieved."
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [
        {
          "kind": "required",
          "name": "languages",
          "type": "array",
          "description": "<p>The language of the content to be retrieved. Example: 'en' or 'en-US'</p>",
          "schema": [],
          "itemType": "string",
          "customType": "string[]"
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Ok",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "Serializable model class for IContent exposed in the Content API.",
            "customType": "content",
            "schema": [
              {
                "name": "contentLink",
                "kind": "optional",
                "type": "object",
                "description": "Serializable model class for ContentReference.",
                "modelRef": "#/components/schemas/contentReference",
                "customType": "contentReference",
                "schema": [
                  {
                    "name": "id",
                    "kind": "optional",
                    "type": "integer<int32>",
                    "description": "Id number of the content.",
                    "format": "int32"
                  },
                  {
                    "name": "workId",
                    "kind": "optional",
                    "type": "integer<int32>",
                    "description": "The version id of the content.",
                    "format": "int32"
                  },
                  {
                    "name": "guidValue",
                    "kind": "optional",
                    "type": "string<uuid>",
                    "description": "The unique identifier of the content.",
                    "example": "00000000-0000-0000-0000-000000000000",
                    "format": "uuid"
                  },
                  {
                    "name": "providerName",
                    "kind": "optional",
                    "type": "string",
                    "description": "The provider name that serves the content."
                  },
                  {
                    "name": "url",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "description": "Url of the content."
                  },
                  {
                    "name": "language",
                    "kind": "optional",
                    "type": "object",
                    "readOnly": true,
                    "description": "",
                    "complexType": "allOf",
                    "complexItems": [
                      {
                        "name": "language",
                        "description": "",
                        "modelRef": "#/components/schemas/language",
                        "schema": [
                          {
                            "name": "displayName",
                            "kind": "optional",
                            "type": "string",
                            "readOnly": true,
                            "description": "<p>Display name of language. Ex: English, Svenska</p>"
                          },
                          {
                            "name": "name",
                            "kind": "required",
                            "type": "string",
                            "description": "<p>Name of language. Ex: en, sv</p>"
                          }
                        ]
                      }
                    ],
                    "schema": []
                  }
                ]
              },
              {
                "name": "name",
                "kind": "required",
                "type": "string",
                "description": "Name of the content."
              },
              {
                "name": "language",
                "kind": "optional",
                "type": "object",
                "description": "Serializable model class for store language information",
                "modelRef": "#/components/schemas/language",
                "customType": "language",
                "schema": [
                  {
                    "name": "displayName",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "description": "<p>Display name of language. Ex: English, Svenska</p>"
                  },
                  {
                    "name": "name",
                    "kind": "required",
                    "type": "string",
                    "description": "<p>Name of language. Ex: en, sv</p>"
                  }
                ]
              },
              {
                "name": "existingLanguages",
                "kind": "optional",
                "type": "array",
                "readOnly": true,
                "description": "The existing languages of the content.",
                "modelRef": "#/components/schemas/language",
                "customType": "language[]",
                "schema": [
                  {
                    "name": "displayName",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "description": "<p>Display name of language. Ex: English, Svenska</p>"
                  },
                  {
                    "name": "name",
                    "kind": "required",
                    "type": "string",
                    "description": "<p>Name of language. Ex: en, sv</p>"
                  }
                ]
              },
              {
                "name": "masterLanguage",
                "kind": "optional",
                "type": "object",
                "readOnly": true,
                "description": "",
                "complexType": "allOf",
                "complexItems": [
                  {
                    "name": "language",
                    "description": "",
                    "modelRef": "#/components/schemas/language",
                    "schema": [
                      {
                        "name": "displayName",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "<p>Display name of language. Ex: English, Svenska</p>"
                      },
                      {
                        "name": "name",
                        "kind": "required",
                        "type": "string",
                        "description": "<p>Name of language. Ex: en, sv</p>"
                      }
                    ]
                  }
                ],
                "schema": []
              },
              {
                "name": "contentType",
                "kind": "required",
                "type": "array",
                "description": "Content type of the content.",
                "example": "",
                "itemType": "string",
                "customType": "string[]",
                "itemExample": "",
                "itemDefault": ""
              },
              {
                "name": "parentLink",
                "kind": "required",
                "type": "object",
                "description": "Serializable model class for ContentReference.",
                "modelRef": "#/components/schemas/contentReference",
                "customType": "contentReference",
                "schema": [
                  {
                    "name": "id",
                    "kind": "optional",
                    "type": "integer<int32>",
                    "description": "Id number of the content.",
                    "format": "int32"
                  },
                  {
                    "name": "workId",
                    "kind": "optional",
                    "type": "integer<int32>",
                    "description": "The version id of the content.",
                    "format": "int32"
                  },
                  {
                    "name": "guidValue",
                    "kind": "optional",
                    "type": "string<uuid>",
                    "description": "The unique identifier of the content.",
                    "example": "00000000-0000-0000-0000-000000000000",
                    "format": "uuid"
                  },
                  {
                    "name": "providerName",
                    "kind": "optional",
                    "type": "string",
                    "description": "The provider name that serves the content."
                  },
                  {
                    "name": "url",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "description": "Url of the content."
                  },
                  {
                    "name": "language",
                    "kind": "optional",
                    "type": "object",
                    "readOnly": true,
                    "description": "",
                    "complexType": "allOf",
                    "complexItems": [
                      {
                        "name": "language",
                        "description": "",
                        "modelRef": "#/components/schemas/language",
                        "schema": [
                          {
                            "name": "displayName",
                            "kind": "optional",
                            "type": "string",
                            "readOnly": true,
                            "description": "<p>Display name of language. Ex: English, Svenska</p>"
                          },
                          {
                            "name": "name",
                            "kind": "required",
                            "type": "string",
                            "description": "<p>Name of language. Ex: en, sv</p>"
                          }
                        ]
                      }
                    ],
                    "schema": []
                  }
                ]
              },
              {
                "name": "routeSegment",
                "kind": "optional",
                "type": "string",
                "description": "Route segment of the content."
              },
              {
                "name": "url",
                "kind": "optional",
                "type": "string",
                "readOnly": true,
                "description": "Url of the content."
              },
              {
                "name": "changed",
                "kind": "optional",
                "type": "string<date-time>",
                "readOnly": true,
                "description": "The date when the content was last marked as changed.",
                "format": "date-time"
              },
              {
                "name": "created",
                "kind": "optional",
                "type": "string<date-time>",
                "readOnly": true,
                "description": "The datetime when the content was created.",
                "format": "date-time"
              },
              {
                "name": "startPublish",
                "kind": "optional",
                "type": "string<date-time>",
                "description": "The start publish date of the content.",
                "format": "date-time"
              },
              {
                "name": "stopPublish",
                "kind": "optional",
                "type": "string<date-time>",
                "description": "The stop publish date of the content.",
                "format": "date-time"
              },
              {
                "name": "saved",
                "kind": "optional",
                "type": "string<date-time>",
                "readOnly": true,
                "description": "The datetime when the content was last saved.",
                "format": "date-time"
              },
              {
                "name": "status",
                "kind": "optional",
                "type": "string<Rejected | CheckedIn | CheckedOut | Published | DelayedPublish | AwaitingApproval>",
                "description": "Status of the content.",
                "enum": [
                  "Rejected",
                  "CheckedIn",
                  "CheckedOut",
                  "Published",
                  "DelayedPublish",
                  "AwaitingApproval"
                ]
              }
            ],
            "modelRef": "#/components/schemas/content",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "403",
        "description": "Forbidden",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "404",
        "description": "Not found",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "OXjAPPhwN2uO3UesH9n7l",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url 'http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentReference}?languages=array' \\\n     --header 'accept: application/json'"
        },
        {
          "id": "Ft-ziD_vlY6BTaR6PHTtl",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentReference}?languages=array\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "eD_AZpPIdf1Bv0R3d7rfZ",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentReference}?languages=array\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "tyjRWb-jPUH7tTOyVeB4p",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentReference}?languages=array\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "OXjAPPhwN2uO3UesH9n7l"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-200",
          "language": "200",
          "code": "// Ok\n{\n  \"contentLink\": {\n    \"id\": \"\",\n    \"workId\": \"\",\n    \"guidValue\": \"00000000-0000-0000-0000-000000000000\",\n    \"providerName\": \"\",\n    \"url\": \"\",\n    \"language\": {}\n  },\n  \"name\": \"\",\n  \"language\": {\n    \"displayName\": \"\",\n    \"name\": \"\"\n  },\n  \"existingLanguages\": [\n    {\n      \"displayName\": \"\",\n      \"name\": \"\"\n    }\n  ],\n  \"masterLanguage\": {},\n  \"contentType\": [\n    \"\"\n  ],\n  \"parentLink\": {\n    \"id\": \"\",\n    \"workId\": \"\",\n    \"guidValue\": \"00000000-0000-0000-0000-000000000000\",\n    \"providerName\": \"\",\n    \"url\": \"\",\n    \"language\": {}\n  },\n  \"routeSegment\": \"\",\n  \"url\": \"\",\n  \"changed\": \"\",\n  \"created\": \"\",\n  \"startPublish\": \"\",\n  \"stopPublish\": \"\",\n  \"saved\": \"\",\n  \"status\": \"\"\n}"
        },
        {
          "id": "response-1-403",
          "language": "403",
          "code": "// Forbidden\n"
        },
        {
          "id": "response-2-404",
          "language": "404",
          "code": "// Not found\n"
        }
      ],
      "selectedLanguageId": "response-0-200"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}