---
title: "Submit a Document File for an Entity"
method: PUT
path: "/entities/{entity_token}/documents/{document_token}"
tags: ["Documents"]
---

# Submit a Document File for an Entity

`PUT /entities/{entity_token}/documents/{document_token}`

Now that the metadata for the file has been specified, you just need to stream the file to the location we’ve allocated for it. The response should be the same as for the preceding `POST` request endpoint except `uploaded` will be true.

## Response `200`

Document

- Items[] — unresolved $ref

---

[API](https://skmtc.dev/alloy/apis/alloy-api.md) · [All operations](https://skmtc.dev/alloy/apis/alloy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/alloy/alloy-api/revisions/405799de4d2a/schema)
