Skip to main content

Get media

GET 

/media/:id

Returns detailed information about a specific media file, including type, dimensions, file size, and processing status.

Round-trip safe

The media_id returned here is the same value you pass into POST /v1/posts as part of the media_ids array. The response also includes media_ids as a convenience single-element array you can copy straight into a post payload.

No url or storage_url field

For security, this endpoint does not return direct storage URLs. Media is delivered to the social platforms through signed, time-limited worker requests — never by exposing raw storage URLs back to API clients. If you need a preview for your own UI, use the PostEverywhere web app or generate your own thumbnails on upload.

Path Parameters

ParameterTypeRequiredDescription
media_idstring (UUID)YesUUID of the media file. Accepts id as a deprecated alias in the URL path.

Response Example

200 — Media details

{
"data": {
"media_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"media_ids": ["a1b2c3d4-e5f6-7890-abcd-ef1234567890"],
"status": "ready",
"type": "image",
"filename": "product-photo.jpg",
"content_type": "image/jpeg",
"size": 2048576,
"width": 1920,
"height": 1080,
"duration": null,
"created_at": "2026-04-10T12:00:00.000Z"
},
"error": null,
"meta": {
"request_id": "a1b2c3d4",
"timestamp": "2026-04-10T12:00:00.000Z"
}
}

Response fields

FieldTypeDescription
media_idstring (UUID)Canonical media identifier
media_idsstring[] (UUID)Convenience single-element array
statusstringready, processing, or failed
typestringimage, video, or document
filenamestringOriginal filename supplied at upload
content_typestringMIME type
sizeintegerFile size in bytes
widthinteger or nullPixel width (images/videos)
heightinteger or nullPixel height (images/videos)
durationnumber or nullDuration in seconds (videos only)
created_atstring (ISO 8601)UTC timestamp when the media record was created

Request

Responses

Media details