---
title: /display/v2/assets/{assetId}
slug: campaign-reporting-apis/displayv2assetsassetid
docTags: 
createdAt: 2026-03-25T11:01:52.241Z
---

{
  "id": "0cQO22c07BHCozJTxYYJa",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://<pcm-domain>/display/v2/assets/{assetId}",
    "servers": [
      {
        "url": "https://<pcm-domain>/display/v2/assets/{assetId}",
        "description": "Generated server url"
      }
    ],
    "name": "",
    "description": "Retrieve an asset specified by id.",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "assetId",
          "type": "string<uuid>",
          "description": "",
          "format": "uuid"
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "OK",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "Asset",
            "schema": [
              {
                "name": "id",
                "kind": "optional",
                "type": "string<uuid>",
                "description": "",
                "format": "uuid"
              },
              {
                "name": "cdnUrl",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "type",
                "kind": "optional",
                "type": "string<IMAGE | HTML_IMAGE_LINK | HTML_VIDEO_LINK>",
                "description": "",
                "enum": [
                  "IMAGE",
                  "HTML_IMAGE_LINK",
                  "HTML_VIDEO_LINK"
                ]
              },
              {
                "name": "height",
                "kind": "optional",
                "type": "integer<int32>",
                "description": "",
                "format": "int32"
              },
              {
                "name": "width",
                "kind": "optional",
                "type": "integer<int32>",
                "description": "",
                "format": "int32"
              },
              {
                "name": "fileName",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "fileSize",
                "kind": "optional",
                "type": "integer<int64>",
                "description": "",
                "format": "int64"
              },
              {
                "name": "scanStatus",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "contentType",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "link",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "createdAt",
                "kind": "optional",
                "type": "string<date-time>",
                "description": "",
                "format": "date-time"
              },
              {
                "name": "modifiedAt",
                "kind": "optional",
                "type": "string<date-time>",
                "description": "",
                "format": "date-time"
              }
            ],
            "modelRef": "#/components/schemas/Asset",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "401",
        "description": "Unauthorized",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "403",
        "description": "Forbidden",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "404",
        "description": "Not Found",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "MessageResponse",
            "schema": [
              {
                "name": "messages",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/components/schemas/Message",
                "customType": "Message[]",
                "schema": [
                  {
                    "name": "text",
                    "kind": "optional",
                    "type": "string",
                    "description": ""
                  },
                  {
                    "name": "level",
                    "kind": "optional",
                    "type": "string<ERROR | WARNING>",
                    "description": "",
                    "enum": [
                      "ERROR",
                      "WARNING"
                    ]
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/MessageResponse",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "fE29yUiajg4xUXOUEhYZc",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://<pcm-domain>/display/v2/assets/{assetId} \\\n     --header 'accept: application/json'"
        },
        {
          "id": "jnVeeTaFkNsm8bew5XOOp",
          "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(\"https://<pcm-domain>/display/v2/assets/{assetId}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "4CUZo4CNMJbjURJdych7x",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://<pcm-domain>/display/v2/assets/{assetId}\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "5bj26vC7GQERcV_ajDS0l",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://<pcm-domain>/display/v2/assets/{assetId}\"\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": "fE29yUiajg4xUXOUEhYZc"
    },
    "results": {
      "languages": [
        {
          "id": "PZQC8NxmrOJKdnn6VOMrp",
          "language": "200",
          "code": "// OK\n{\n  \"id\": \"\",\n  \"cdnUrl\": \"\",\n  \"type\": \"\",\n  \"height\": \"\",\n  \"width\": \"\",\n  \"fileName\": \"\",\n  \"fileSize\": \"\",\n  \"scanStatus\": \"\",\n  \"contentType\": \"\",\n  \"link\": \"\",\n  \"createdAt\": \"\",\n  \"modifiedAt\": \"\"\n}"
        },
        {
          "id": "OPSQvJnjOy_PQyllFtHp5",
          "language": "401",
          "code": "// Unauthorized\n"
        },
        {
          "id": "p8rU8YVDuwx_U7llI-IEN",
          "language": "403",
          "code": "// Forbidden\n"
        },
        {
          "id": "mK9DaMb-4vJN3wZaSaBGV",
          "language": "404",
          "code": "// Not Found\n{\n  \"messages\": [\n    {\n      \"text\": \"\",\n      \"level\": \"\"\n    }\n  ]\n}"
        }
      ],
      "selectedLanguageId": "PZQC8NxmrOJKdnn6VOMrp"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}