{"componentChunkName":"component---src-templates-simple-markdown-js","path":"/api/catalog/activities/images/","matchPath":"","result":{"data":{"markdownRemark":{"html":"<h1 style=\"position:relative;\"><a href=\"#images\" aria-label=\"images permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"images\"></div>Images</h1>\n<p>To retrieve <em>media</em> (i.e. images and videos) for a specific activity, make the following request:</p>\n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"48360254796037005000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`curl -X GET '{baseUrl}/activities/{activityUuid}/media' \\\\\n-H 'X-Musement-Application: {applicationValue}' \\\\\n-H 'X-Musement-Version: 3.4.0' \\\\\n-H 'Authorization: Bearer {accessToken}'`, `48360254796037005000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-48360254796037005000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">curl</span> <span class=\"token parameter variable\">-X</span> GET <span class=\"token string\">'{baseUrl}/activities/{activityUuid}/media'</span> <span class=\"token punctuation\">\\</span>\n<span class=\"token parameter variable\">-H</span> <span class=\"token string\">'X-Musement-Application: {applicationValue}'</span> <span class=\"token punctuation\">\\</span>\n<span class=\"token parameter variable\">-H</span> <span class=\"token string\">'X-Musement-Version: 3.4.0'</span> <span class=\"token punctuation\">\\</span>\n<span class=\"token parameter variable\">-H</span> <span class=\"token string\">'Authorization: Bearer {accessToken}'</span></code></pre></div>\n      </div>\n<p>The response contains all gallery images and video which belong to that specific activity:</p>\n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"46521921283635390000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`[\n\t{\n\t\t&quot;id&quot;: 18313,\n\t\t&quot;title&quot;: &quot;Tickets for the Bargello National Museum&quot;,\n\t\t&quot;url&quot;: &quot;https://images-sandbox.musement.com/default/0001/19/tickets-for-the-bargello-national-museum_header-18313.jpeg?w=750&h=500&quot;,\n\t\t&quot;type&quot;: &quot;image&quot;,\n\t\t&quot;is_cover&quot;: false\n\t},\n\t{\n\t\t&quot;id&quot;: 18314,\n\t\t&quot;title&quot;: &quot;Tickets for the Bargello National Museum&quot;,\n\t\t&quot;url&quot;: &quot;https://images-sandbox.musement.com/default/0001/19/tickets-for-the-bargello-national-museum_header-18314.jpeg?w=750&h=500&quot;,\n\t\t&quot;type&quot;: &quot;image&quot;,\n\t\t&quot;is_cover&quot;: false\n\t}\n]`, `46521921283635390000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-46521921283635390000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"json\"><pre class=\"language-json\"><code class=\"language-json\"><span class=\"token punctuation\">[</span>\n\t<span class=\"token punctuation\">{</span>\n\t\t<span class=\"token property\">\"id\"</span><span class=\"token operator\">:</span> <span class=\"token number\">18313</span><span class=\"token punctuation\">,</span>\n\t\t<span class=\"token property\">\"title\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"Tickets for the Bargello National Museum\"</span><span class=\"token punctuation\">,</span>\n\t\t<span class=\"token property\">\"url\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"https://images-sandbox.musement.com/default/0001/19/tickets-for-the-bargello-national-museum_header-18313.jpeg?w=750&amp;h=500\"</span><span class=\"token punctuation\">,</span>\n\t\t<span class=\"token property\">\"type\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"image\"</span><span class=\"token punctuation\">,</span>\n\t\t<span class=\"token property\">\"is_cover\"</span><span class=\"token operator\">:</span> <span class=\"token boolean\">false</span>\n\t<span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span>\n\t<span class=\"token punctuation\">{</span>\n\t\t<span class=\"token property\">\"id\"</span><span class=\"token operator\">:</span> <span class=\"token number\">18314</span><span class=\"token punctuation\">,</span>\n\t\t<span class=\"token property\">\"title\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"Tickets for the Bargello National Museum\"</span><span class=\"token punctuation\">,</span>\n\t\t<span class=\"token property\">\"url\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"https://images-sandbox.musement.com/default/0001/19/tickets-for-the-bargello-national-museum_header-18314.jpeg?w=750&amp;h=500\"</span><span class=\"token punctuation\">,</span>\n\t\t<span class=\"token property\">\"type\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"image\"</span><span class=\"token punctuation\">,</span>\n\t\t<span class=\"token property\">\"is_cover\"</span><span class=\"token operator\">:</span> <span class=\"token boolean\">false</span>\n\t<span class=\"token punctuation\">}</span>\n<span class=\"token punctuation\">]</span></code></pre></div>\n      </div>\n<p>The response above does not usually contain the designated cover image found in the <code class=\"language-text\">/activities/{activityUuid}</code> response:</p>\n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"49594550679414190000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`{\n\t[...]\n\t&quot;cover_image_url&quot;: &quot;https://images-sandbox.musement.com/cover/0001/02/tickets-for-the-bargello-national-museum_header-1445.jpeg?w=540&quot;,\n\t[...]\n}`, `49594550679414190000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-49594550679414190000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"json\"><pre class=\"language-json\"><code class=\"language-json\"><span class=\"token punctuation\">{</span>\n\t<span class=\"token punctuation\">[</span>...<span class=\"token punctuation\">]</span>\n\t<span class=\"token property\">\"cover_image_url\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"https://images-sandbox.musement.com/cover/0001/02/tickets-for-the-bargello-national-museum_header-1445.jpeg?w=540\"</span><span class=\"token punctuation\">,</span>\n\t<span class=\"token punctuation\">[</span>...<span class=\"token punctuation\">]</span>\n<span class=\"token punctuation\">}</span></code></pre></div>\n      </div>\n<p>However, when the cover image is present in the gallery, its <code class=\"language-text\">is_cover</code> property is <code class=\"language-text\">true</code>:</p>\n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"45469519384519750000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`[\n\t{\n\t\t&quot;id&quot;: 1445,\n\t\t&quot;title&quot;: &quot;Tickets for the Bargello National Museum&quot;,\n\t\t&quot;url&quot;: &quot;https://images-sandbox.musement.com/cover/0001/02/tickets-for-the-bargello-national-museum_header-1445.jpeg?w=540&quot;,\n\t\t&quot;type&quot;: &quot;image&quot;,\n\t\t&quot;is_cover&quot;: true\n\t}\n]`, `45469519384519750000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-45469519384519750000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"json\"><pre class=\"language-json\"><code class=\"language-json\"><span class=\"token punctuation\">[</span>\n\t<span class=\"token punctuation\">{</span>\n\t\t<span class=\"token property\">\"id\"</span><span class=\"token operator\">:</span> <span class=\"token number\">1445</span><span class=\"token punctuation\">,</span>\n\t\t<span class=\"token property\">\"title\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"Tickets for the Bargello National Museum\"</span><span class=\"token punctuation\">,</span>\n\t\t<span class=\"token property\">\"url\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"https://images-sandbox.musement.com/cover/0001/02/tickets-for-the-bargello-national-museum_header-1445.jpeg?w=540\"</span><span class=\"token punctuation\">,</span>\n\t\t<span class=\"token property\">\"type\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"image\"</span><span class=\"token punctuation\">,</span>\n\t\t<span class=\"token property\">\"is_cover\"</span><span class=\"token operator\">:</span> <span class=\"token boolean\">true</span>\n\t<span class=\"token punctuation\">}</span>\n<span class=\"token punctuation\">]</span></code></pre></div>\n      </div>","headings":[{"value":"Images","depth":1}]},"contentItem":{"data":{"lastModified":"2025-12-18T16:31:42.000Z","enableToc":null,"disableLastModified":null,"tocMaxDepth":null,"requestLogin":false}},"siteConfig":{"enableToc":false,"disableLastModified":false,"tocMaxDepth":4}},"pageContext":{"matchPath":"","id":"f009fe40-a281-5534-8c3d-3de65a66fc24__redocly content/api/catalog/activities/images/","seo":{"title":"Images","description":"Activities in the Musement API always have a cover image and may have several gallery images too.","image":"","keywords":null,"jsonLd":null,"lang":null,"siteUrl":null},"pageId":"api/catalog/activities/images.md","pageBaseUrl":"/api/catalog/activities/images","type":"markdown","toc":{"enable":true,"maxDepth":4,"headings":[{"depth":1,"value":"Images","id":"images"}]},"data":{"title":"","redirectFrom":["/guide/activities/images/","/api/partner/catalog/activities/images/"],"seo":{"description":"Activities in the Musement API always have a cover image and may have several gallery images too."}},"catalogInfo":null,"link":"/api/catalog/activities/images/","sidebarName":"__alternative-sidebar__-data-24763-api-sidebars.yaml","isLanding":false,"showPrevButton":null,"showNextButton":null,"apiVersions":null,"apiVersionId":null,"isDefaultApiVersion":null}},"staticQueryHashes":["1123603147","1302185487","1344209882","1398840060","1520077861","1975142765","2667623876","2950305614","3240152602","3743992808","561138138"]}