Skip to main content

View Media

GEThttps://api.perceptpixel.com/v1/media/:uid

View a media file by its unique identifier.

Path Parameters​

  • :uid (string) - The unique identifier of the media file.

Response (200)​

The response of this endpoint is the same as the Media Upload endpoint response.

{
"uid": "...",
"name": "...",
"path": "...",

...
}

Types​

The response of this endpoint is the same Media type as the Media Upload endpoint response.

Example (curl)​

# Replace {API_KEY} with your actual API key, without enclosing it in curly braces
# {MEDIA_UID} is the unique identifier of the media file
curl "https://api.perceptpixel.com/media/{MEDIA_UID}" \
-H "Authorization: Api-Key {API_KEY}"