---
title: "Get media details"
method: GET
path: "/v1/media/{id}"
tags: ["Media Files"]
---

# Get media details

`GET /v1/media/{id}`

## Request

- Base URL: `https://api.dexatel.com`
- URL: `https://api.dexatel.com/v1/media/{id}`
- Auth: API key in header `X-Dexatel-Key`

## Path parameters

- `id` string, required: Unique identifier of the resource - {id}

## Response `200`

OK

- MediaResponseWrapperDto
  - `data` object
    - `id` string, uuid: The unique identifier assigned to a media file
    - `account_id` string, uuid: The unique identifier of the account
    - `file_name` string: The name of the media file
    - `status` 'pending' | 'uploaded' | 'in_use': The current state of a media file
    - `directory` 'temp' | 'perm': The directory setting determines how long files are stored. If set to TEMP, files are available for 3 months, while if set to PERM, files are available indefinitely
    - `type` 'image' | 'video' | 'document': The format of the media file
    - `content_type` string: Content type of the media file
    - `get_url` string: The URL used to get the media
    - `create_date` string, date-time: Creation date of the media file in UTC, formatted as yyyy-mm-dd hh:mm:ss
    - `update_date` string, date-time: Update date of the media file in UTC, formatted as yyyy-mm-dd hh:mm:ss
    - `delete_url` string: The URL to delete the media file
    - `thumbnail_url` string: The URL of thumbnail if the media file is in video format
    - `links` object
      - `self` string: URL of the requested resource
      - `account` string: URL of the account

## Other responses

- `404`: **Not Found:** Code Message Description 7700 Media not found

---

[API](https://skmtc.dev/dexatel/apis/miscellaneous.md) - [All operations](https://skmtc.dev/dexatel/apis/miscellaneous/llms.txt) - [OpenAPI document](https://skmtc.dev/dexatel/apis/miscellaneous/revisions/44500422bb80?raw)
