# ACCEPT

### Property description

Specifying file type for uploading by a group or an extension is set up by accepting attributes, where an empty default value allows any file.

<div align="left"><img src="https://lh5.googleusercontent.com/9uqwO5RLNpOcHAvt-m_0MGxGVMnFyR53M8dCwdxQE2bobygMwwQYI9HiBGjmYtuUYosaINfNsdDLNpK6uT2Gh0eyhTk7vm3CKL5rIkgMCgvsyVI8xJj2n6WDcav1GljCpGbUtr8l" alt="Accept image files only"></div>

<div align="left"><img src="https://lh4.googleusercontent.com/wyV-VB-FRzM2Sy6Pj5n2JhiMq7ygtjEPSPRg3hUZRIni3gALizaid7pSVKS3sCgdubjHVfDSDK3QsL4zul0GAW53u89aF2CLCf-1sLBtZYQq1Jx4fEzkX9DzosGYJ3GYvpkwy1Qa" alt="ƒx (String): Accept files defines by string value types"></div>

<div align="left"><img src="https://lh6.googleusercontent.com/1TxgDKe0ByVJycX0SoN73TAzI__80j9-ntdsIZh07tjd4pkkRd8iGF6aOpoBZyFAIK9kQ5pd_7I1U1VTuAxf7Dj1mUPLZ4Y9VeDUTuKbKy6m0Es4yVtYHN1yP7ezpaLe4NNKKGgW" alt="ƒx (String valuetypes): file_extension|audio/|video/|image/*|media_type"></div>

### State

Accept attributes are limiting the acceptance of filetypes.

### Value type

<https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation/List_of_default_Accept_values>

### Availability

[File Upload](/reference-guide/components-list/file-upload.md)


---

# 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://docs.adapptio.com/reference-guide/properties/accept.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.
