Skip to main content
GET
/
published
/
media
/
{publishedId}
/
{imageId}
Retrieve a published media file
curl --request GET \
  --url https://app.myhero.so/published/media/{publishedId}/{imageId} \
  --header 'Authorization: Bearer <token>'
{
  "error": "<string>",
  "message": "<string>",
  "details": [
    "<unknown>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

Use this file to discover all available pages before exploring further.

Streams the raw image bytes for imageId attached to the published document publishedId. Verifies the media belongs to that document and that the document is currently published before serving the file.

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

publishedId
string
required
Minimum string length: 1
imageId
string
required
Minimum string length: 1

Response

200 response