---
title: "Get a specific media"
method: GET
path: "/media/{id}"
tags: ["media"]
---

# Get a specific media

`GET /media/{id}`

Get media resource by id

## Path parameters

- `id` integer, required

## Query parameters

- `fields` string

## Response `200`

successful operation

- Media — Represents a media file which can be added to a text message
  - `id` integer — An id of a media file
  - `accountId` integer — ~
  - `name` string — A name of a media file
  - `created` integer — The time when the given resource was created, formatted in unix time milliseconds (read only). Example: 1473781817000
  - `lengthInBytes` integer — A size of a media file in bytes
  - `mediaType` string — A MIME type of media file, ex: image/jpeg, image/png, video/mp4, audio/mp3, etc
  - `publicUrl` string — A public URL of a media file

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/callfire/apis/callfire-api-documentation.md) · [All operations](https://skmtc.dev/callfire/apis/callfire-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/callfire/callfire-api-documentation/revisions/9f6fb501bc03/schema)
