---
title: "Store an upload"
description: "Convert a temporary upload into a permanent upload that does not expire."
canonical: "https://signatureapi.com/docs/api/resources/uploads/store"
source: "https://signatureapi.com/docs/api/resources/uploads/store.md"
last_verified_api_version: "1.18.1"
last_modified: "2026-11-18T11:48:11Z"
---

# Store an upload

Convert a temporary upload into a permanent upload that does not expire.

_Last verified against API version 1.18.1._

Convert a temporary upload into a permanent upload. The file is moved to permanent storage and no longer expires. A unique `key` is required to identify the permanent upload.

Use this endpoint when you want to reuse a file across multiple envelopes without re-uploading it each time. For example, store a company logo or a contract template that you reference repeatedly.

> **Note:** Once stored, the upload's `retention` changes from `temporary` to `permanent` and the `expires_at` property is removed. The upload `id` and `url` remain the same.

## Path Parameters

- `upload_id` (`string`, path, required)

  The unique identifier of an upload.

  Example: `"upl_1sAAaVfabdt0esVjmSTmLA"`

## Body Parameters

- `key` (`string`, required, up to 100 characters, pattern ^[a-z0-9_-]+$)

  A unique key that identifies the permanent upload within your account. Only lowercase letters, numbers, hyphens, and underscores are allowed. Maximum 100 characters.

  Example: `"contract-template-v2"`

## Returns

Returns a `200 OK` status code and [an upload object](https://signatureapi.com/docs/api/resources/uploads/object) with `retention` set to `permanent`, or an [error](https://signatureapi.com/docs/api/errors) otherwise.

Storing an upload that is already permanent returns [upload-already-stored](https://signatureapi.com/docs/v1/errors/upload-already-stored), and a `key` already used by another upload in your account returns [upload-key-conflict](https://signatureapi.com/docs/v1/errors/upload-key-conflict). Both are `409 Conflict`.

### Example: Standard

Turn a temporary upload into a permanent one with a unique key.

```http
POST /v1/uploads/upl_3JJz6t1o8A5YjX5VpnX27Z/store HTTP/1.1
Host: api.signatureapi.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json

{
  "key": "service-agreement-template"
}
```

Response 200 OK:

```json
{
  "id": "upl_3JJz6t1o8A5YjX5VpnX27Z",
  "retention": "permanent",
  "key": "service-agreement-template",
  "url": "https://api.signatureapi.com/v1/uploads/upl_3JJz6t1o8A5YjX5VpnX27Z",
  "sha_256": "4f1c8a7e92b3d05a6e8c1f4b7d2a9053c6e8b1d4f7a20935c8e1b4d7a0f36c92",
  "size": 102400,
  "format": "pdf",
  "created_at": "2026-11-02T14:00:00.000Z"
}
```

Response 404 Not Found:

```json
{
  "type": "https://signatureapi.com/docs/v1/errors/not-found",
  "title": "Not Found",
  "status": 404,
  "detail": "Upload not found."
}
```

Response 409 Conflict:

```json
{
  "type": "https://signatureapi.com/docs/v1/errors/upload-already-stored",
  "title": "Upload Already Stored",
  "status": 409,
  "detail": "This upload has already been stored as a permanent file."
}
```

Response 422 Unprocessable Content:

```json
{
  "type": "https://signatureapi.com/docs/v1/errors/validation-error",
  "title": "Validation Error",
  "status": 422,
  "errors": [
    "key must contain only lowercase letters, numbers, hyphens, and underscores"
  ]
}
```

Errors that any request can return (authentication, rate limits, server errors) are on the [Errors](https://signatureapi.com/docs/api/errors) and [Authentication](https://signatureapi.com/docs/api/authentication) pages.
