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

# API Overview

### CDN API endpoints for file uploading and file requesting.

The CDN API lets your backend download and upload files.

<Info>
  The file uploading endpoint is /files/api/upload?apikey= | The file downloading endpoint is /api/fetch?apikey=
</Info>

## Base URL

```text theme={null}
https://cdn.pummelgaza.com
```

## **Authentication**

All protected endpoints use query parameters at the end of each endpoint. An example is listed below

```text theme={null}
?apikey=YOUR_API_KEY
```

## Reponses

A succesful response may look like the one below

```text theme={null}
{
Status: 200
Content-Type: image/png
Download complete
}
```

A failed response may look like

```text theme={null}
Status: 403
Content-Type: application/json; charset=utf-8
{"error":"Invalid API key"}
```
