Skip to content

Uploads

Store an upload

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

POST
/ v1 / uploads / {upload_id} / store

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.

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_idstringrequiredpath

The unique identifier of an upload.

Example "upl_1sAAaVfabdt0esVjmSTmLA"

Body Parameters

keystringrequired

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

up to 100 characterspattern ^[a-z0-9_-]+$Example "contract-template-v2"

Returns

Returns a 200 OK status code and an upload object with retention set to permanent, or an error otherwise.

Storing an upload that is already permanent returns upload-already-stored, and a key already used by another upload in your account returns upload-key-conflict. Both are 409 Conflict.