> ## Documentation Index
> Fetch the complete documentation index at: https://plivo.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# The Media Object

> Media object attributes for MMS file uploads and attachments

The Media Object represents media in the system.

### Attributes

<table>
  <tbody>
    <tr>
      <td><strong>content\_type</strong></td>

      <td>
        <p>The content type of the media.</p>
        <p>Valid content types accepted: JPG, PNG, MP4, Gimp, PDF, text.</p>
      </td>
    </tr>

    <tr>
      <td><strong>file\_name</strong></td>

      <td>
        <p>The name of the file that was uploaded to the system.</p>
      </td>
    </tr>

    <tr>
      <td><strong>media\_id</strong></td>

      <td>
        <p>A unique identifier for the media for a given auth\_id.</p>
      </td>
    </tr>

    <tr>
      <td><strong>media\_url</strong></td>

      <td>
        <p>The location of the media resource on Plivo’s system.</p>
        <p>Unused media have a time to live (TTL) of 6 hours. Uploaded media will be deleted from our system if it remains unused for sending an MMS message 6 hours from the time of upload. Used media is persisted forever.</p>
      </td>
    </tr>

    <tr>
      <td><strong>media\_size</strong></td>

      <td>
        <p>Size of the media in bytes.</p>
        <p>Media with size greater than 2MB are not accepted.</p>
      </td>
    </tr>

    <tr>
      <td><strong>upload\_time</strong></td>

      <td>
        <p>Time at which the media was uploaded to Plivo’s system.</p>
      </td>
    </tr>
  </tbody>
</table>
