SmakeSmake API Docs
EndpointsMedia

Show Media

GET
/media/{id}

Returns the resource for an uploaded image or PDF file with the given id, including the file's metadata and download URL.

AuthorizationBearer
AuthorizationBearer <token>

In: header

Path Parameters

id*integer

The ID of the media.

Header Parameters

X-Api-Version?string

Response Body

application/json

application/json

application/json

Request example
curl -X GET "https://example.com/media/55" \  -H "X-Api-Version: 2022-02-01"
{  "id": 55,  "is_test": 0,  "collection_name": "mockup",  "file_name": "front.png",  "size": 182044,  "mime_type": "image/png",  "download_url": "https://api.smake.io/v2/apps/1/media/55/download",  "state": "completed",  "requested": {    "url": "https://cdn.example.org/front.png"  },  "failure_message": null,  "created_at": "2026-04-01T10:00:00+00:00",  "updated_at": "2026-04-01T10:00:00+00:00"}