# File links

File Links provide a secure and convenient way to share the contents of a File object with customers by generating a unique URL. This URL allows customers to access the file's content without requiring authentication. File Links are particularly useful for sharing documents, invoices, or other files associated with order management, enhancing the customer experience by simplifying access to important information.&#x20;

{% openapi src="/files/vpKvvwRH38WLAfjxoVH1" path="/file-links" method="get" %}
[2021-03-23.json](https://4228643402-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnfnsRxm5nOCJKXwnr6Qv%2Fuploads%2FVNrVbBVL7QElSSa1l4Fr%2F2021-03-23.json?alt=media\&token=bcc9e5fc-5ca6-441d-b692-5c3a57bb69ef)
{% endopenapi %}

{% openapi src="/files/vpKvvwRH38WLAfjxoVH1" path="/file-links" method="post" %}
[2021-03-23.json](https://4228643402-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnfnsRxm5nOCJKXwnr6Qv%2Fuploads%2FVNrVbBVL7QElSSa1l4Fr%2F2021-03-23.json?alt=media\&token=bcc9e5fc-5ca6-441d-b692-5c3a57bb69ef)
{% endopenapi %}

{% openapi src="/files/vpKvvwRH38WLAfjxoVH1" path="/file-links/{id}" method="get" %}
[2021-03-23.json](https://4228643402-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnfnsRxm5nOCJKXwnr6Qv%2Fuploads%2FVNrVbBVL7QElSSa1l4Fr%2F2021-03-23.json?alt=media\&token=bcc9e5fc-5ca6-441d-b692-5c3a57bb69ef)
{% endopenapi %}

{% openapi src="/files/vpKvvwRH38WLAfjxoVH1" path="/file-links/{id}" method="post" %}
[2021-03-23.json](https://4228643402-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnfnsRxm5nOCJKXwnr6Qv%2Fuploads%2FVNrVbBVL7QElSSa1l4Fr%2F2021-03-23.json?alt=media\&token=bcc9e5fc-5ca6-441d-b692-5c3a57bb69ef)
{% endopenapi %}

{% openapi src="/files/vpKvvwRH38WLAfjxoVH1" path="/file-links/{id}" method="delete" %}
[2021-03-23.json](https://4228643402-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnfnsRxm5nOCJKXwnr6Qv%2Fuploads%2FVNrVbBVL7QElSSa1l4Fr%2F2021-03-23.json?alt=media\&token=bcc9e5fc-5ca6-441d-b692-5c3a57bb69ef)
{% 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-03-23/file-links.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.
