# File Upload API

#### How to Upload a File

1. Go to **Media Uploader**
2. Click **Upload Files** (top-right)
3. Select the file (image/document)
4. Click **Upload**
5. Copy the generated **File URL**
6. You can also copy the **File ID** and view the creation date

#### How to Use the File URL in API

7. Open **Postman** (or your API tool)
8. Add required **Authorization**
9. Enter your API endpoint URL
10. In **Body → Raw → JSON**, paste the copied file URL where the image link is required
11. Click **Send**

#### Important Note:

Files will be automatically deleted after 7 days, so they should not be used in any long-term Bots or automations.

App Url:<https://mediaz-manager.netlify.app/>

{% embed url="<https://youtu.be/SGN_JnASaiY?si=uRuqxj428Y8XMqx8>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpdocumentation.gitbook.io/user/file-upload-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
