# How do I control which file types customers can upload?

You can manage the allowed file types directly from the app’s **Rules & Settings** section.

1. Open the app dashboard
2. Go to **Rules & Settings**
3. Enable **Allowed file types**
4. Select the field type and choose the file formats you want to allow

You can allow different file types based on your needs, for example:

* **Images:** JPEG, JPG, PNG, GIF, WEBP, SVG
* **Videos:** MP4, MOV, AVI, WEBM
* **Documents:** PDF, DOC, DOCX, TXT
* **Audio:** MP3, WAV, OGG
* **Design files:** PSD, AI

If a customer tries to upload a file type that is not allowed, you can display a **custom error message** explaining which formats are supported.<br>

<figure><img src="https://496467855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH4gNmkiCvjHuxfVFianA%2Fuploads%2FQnP8KmkaPETpGdimkqBw%2FScreenshot%202025-12-25%20at%2016.07.11.png?alt=media&#x26;token=7079a725-fb88-4709-9041-79c2cb658d25" alt=""><figcaption></figcaption></figure>


---

# 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://minimateapps.gitbook.io/mini-image-upload-and-file-upload/how-to.../how-do-i-control-which-file-types-customers-can-upload.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.
