Images not accessible with media token

I’m using the Confluence Cloud REST API /wiki/rest/api/content/<pageId> to export Confluence pages to HTML. And using export_view for body representation.

When using the media_token that is provided in the above API’s response to load images, the image request is returned with 401 Unauthorized status.