> For the complete documentation index, see [llms.txt](https://docs.shiptify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shiptify.com/i-am-a-shipper/documents/upload-documents.md).

# Upload Documents

### Hosted on Shiptify or not

Thanks to **save** attribute, you have the choice to:

* Either provide the link to a document hosted **out of** Shiptify
* Or provide the file itself so the document is hosted **within** Shiptify

### Authentication

Please be in touch with your Shiptify contact for <mark style="color:blue;">Authentication</mark> questions.

### Endpoint to use

{% openapi src="/files/RdvwQjMuuDxIpncDw9W4" path="/shipments/{id}/upload" method="post" %}
[shiptify-public-api.openapi.json](https://126269492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSUDs2RghltJWD9LPsGGQ%2Fuploads%2FRjiijD54qhlygdJLVPq7%2Fshiptify-public-api.openapi.json?alt=media\&token=b64eb81b-d262-4bf5-98d5-254e00aec99f)
{% endopenapi %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.shiptify.com/i-am-a-shipper/documents/upload-documents.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.
