# Type Alias: UploadedDocument

[Mobile Web Capture API Reference](../index.md) / UploadedDocument

# Type Alias: UploadedDocument

> **UploadedDocument** = `object`

A document that has been uploaded to your server during this session.

## Remarks

Return one of these from [ExportConfig.uploadToServer](../interfaces/ExportConfig.md#uploadtoserver) to have MWC list the document in the upload history, where [ExportConfig.downloadFromServer](../interfaces/ExportConfig.md#downloadfromserver) and [ExportConfig.deleteFromServer](../interfaces/ExportConfig.md#deletefromserver) act on it.

## Properties

### downloadUrl

> **downloadUrl**: `string`

URL your [ExportConfig.downloadFromServer](../interfaces/ExportConfig.md#downloadfromserver) handler can fetch the document from.

***

### fileName

> **fileName**: `string`

Name the document was stored under on the server.

***

### status

> **status**: [`UploadStatus`](UploadStatus.md)

Whether the upload succeeded. Must be `"success"` to trigger [ExportConfig.onUploadSuccess](../interfaces/ExportConfig.md#onuploadsuccess).

***

### uploadTime?

> `optional` **uploadTime?**: `string`

When the upload happened, used to disambiguate documents sharing a name.
