---
title: "Create share download link"
method: POST
path: "/hubs/{HubHashId}/projects/{ProjectId}/shares/{ShareId}/download-link"
tags: ["Shares"]
---

# Create share download link

`POST /hubs/{HubHashId}/projects/{ProjectId}/shares/{ShareId}/download-link`

## Request

- Base URL: `https://docs.bimtrackapp.co`
- URL: `https://docs.bimtrackapp.co/hubs/{HubHashId}/projects/{ProjectId}/shares/{ShareId}/download-link`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/bimtrackapp/apis/newforma-konekt-document-control-api/docs/hubs/:HubHashId/projects/:ProjectId/shares/:ShareId/download-link/post.ts> (a function with typed inputs; its response is checked against the schema)

Generate a secure one-time download link for the share.

## Path parameters

- `ShareId` string, required
- `HubHashId` string, required
- `ProjectId` integer, required

## Request body

- FeaturesSharesCreateShareDownloadLinkCreateShareDownloadLinkRequestRequestBody
  - `createdByUserName` string, nullable

## Response `200`

OK

- FeaturesSharesCreateShareDownloadLinkCreateShareDownloadLinkResponse
  - `downloadUri` string, nullable, required

## Other responses

- `307`: According to the hub id, the request is at the wrong datacenter. Please retry with the URL in the "Location" header.
- `403`: You don't have access to the project.
- `404`: The project doesn't exist.

---

[API](https://skmtc.dev/bimtrackapp/apis/newforma-konekt-document-control-api.md) - [All operations](https://skmtc.dev/bimtrackapp/apis/newforma-konekt-document-control-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bimtrackapp/apis/newforma-konekt-document-control-api/revisions/291f93a82556?raw)
