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.

Did you ever figure this out? I presume I’m supposed to use the token as the value of some HTTP header, but I don’t know what the header name is and don’t see any info in the API documentation about that.