---
title: "Create presigned url"
method: POST
path: "/boxes/{boxId}/storage/presigned-url"
tags: ["Box"]
---

# Create presigned url

`POST /boxes/{boxId}/storage/presigned-url`

Create a presigned url for a storage key. This endpoint provides a presigned url for a storage key, which can be used to download the file from the storage.

## Path parameters

- `boxId` string, required

## Request body

- BoxStoragePresignedUrl — Box Storage Presigned Url
  - `expiresIn` string — Presigned url expires in Supported time units: ms (milliseconds), s (seconds), m (minutes), h (hours) Example formats: "500ms", "30s", "5m", "1h" Default: 30m Maximum allowed: 6h
  - `storageKey` string, required — Storage key

## Response `201`

Presigned url

- string

---

[API](https://skmtc.net/babelcloud/apis/gbox-open-api.md) · [All operations](https://skmtc.net/babelcloud/apis/gbox-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/babelcloud/gbox-open-api/revisions/d655577fa915/schema)
