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

# Media

> The Media API allows you to upload image files to OpenCX storage. Uploaded images return a permanent URL that can be embedded in training scenario content, help center articles, and other rich-text…

The Media API allows you to upload image files to OpenCX storage. Uploaded images return a permanent URL that can be embedded in training scenario content, help center articles, and other rich-text fields.

## Constraints

* **Allowed formats:** PNG, JPEG, GIF, WebP
* **Max file size:** 5 MB
* **Magic bytes validation:** file content must match the declared MIME type
* **Scope required:** `media:write`

## Available Endpoints

<CardGroup>
  <Card title="Upload Image" icon="upload" href="./upload">
    Upload an image and get a URL
  </Card>
</CardGroup>
