# Files

You can use the File links resource to create a file link when you want to share the contents of a Files object with a customer. If you want unauthenticated access to a file that a customer can download, you can create a link containing a URL pointing to the file and then send it to the customer.

{% openapi src="/files/0Ciuu7VmwOpIMPkB3vvy" path="/files" method="get" %}
[2021-02-23.json](https://3436617475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXRQKVqpKvSLGvcG6ZLy6%2Fuploads%2FP4qwE7AY3xvfElLnrvno%2F2021-02-23.json?alt=media\&token=9c7879b3-aaea-44e6-a221-2b02f2e3adb5)
{% endopenapi %}

{% openapi src="/files/0Ciuu7VmwOpIMPkB3vvy" path="/files" method="post" %}
[2021-02-23.json](https://3436617475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXRQKVqpKvSLGvcG6ZLy6%2Fuploads%2FP4qwE7AY3xvfElLnrvno%2F2021-02-23.json?alt=media\&token=9c7879b3-aaea-44e6-a221-2b02f2e3adb5)
{% endopenapi %}

{% openapi src="/files/0Ciuu7VmwOpIMPkB3vvy" path="/files/{id}" method="get" %}
[2021-02-23.json](https://3436617475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXRQKVqpKvSLGvcG6ZLy6%2Fuploads%2FP4qwE7AY3xvfElLnrvno%2F2021-02-23.json?alt=media\&token=9c7879b3-aaea-44e6-a221-2b02f2e3adb5)
{% endopenapi %}

{% openapi src="/files/0Ciuu7VmwOpIMPkB3vvy" path="/files/{id}" method="delete" %}
[2021-02-23.json](https://3436617475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXRQKVqpKvSLGvcG6ZLy6%2Fuploads%2FP4qwE7AY3xvfElLnrvno%2F2021-02-23.json?alt=media\&token=9c7879b3-aaea-44e6-a221-2b02f2e3adb5)
{% endopenapi %}


---

# 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.digitalriver.com/digital-river-api-reference/2021-02-23/files.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.
