Get Media document by UUID

Get Media by UUID

Retrieve a media document using its unique identifier (UUID).


Endpoint

GET /api/v2/media/{uuid}


Description

This API fetches the details of a specific media item (image or video) using its UUID. It returns metadata, tags, media type, creation details, and the public media URL.


Base URL

Environment
URL

Release Candidate (RC)

https://sdk-mobile-api-rc.truvideo.com

Production

https://sdk-mobile-api.truvideo.com


Authorization

This endpoint requires Bearer Token authentication.

Header


Path Parameters

Parameter
Type
Required
Description

uuid

String (UUID)

Yes

Unique identifier of the media item


Curl Example


Success Response

HTTP Status: 200 OK


Response Fields

Field
Type
Description

id

UUID

Unique identifier of the media

url

String

Publicly accessible media URL

metadata

Object

Custom metadata provided during upload

tags

Object

Key-value tags associated with the media

type

String

Media type (VIDEO, IMAGE)

createdDate

ISO 8601 Date

Media creation timestamp

title

String

Media title

subAccountId

UUID

Associated sub-account ID

includeInReport

Boolean

Indicates if media is included in reports


Error Responses

HTTP Code
Description

401 Unauthorized

Invalid or missing access token

404 Not Found

Media not found for the given UUID

500 Internal Server Error

Server-side error


Notes

  • Ensure the UUID exists and belongs to the authenticated account.

  • The media URL may be time-limited or protected based on configuration.

  • Metadata and tags are optional and may be empty.


Last updated