# uploadDocument

Returns a pre-signed URL for uploading the file content of a previously created document. Issue a `PUT` with the matching `Content-Type`.

```
uploadDocument(

  id: ID!

  contentType: String!

): UploadFile!
```

### Arguments[​](#arguments "Direct link to Arguments")

#### [`uploadDocument.id`](#id) ● [`ID!`](https://docs.monei.com/apis/graphql/types/scalars/id/.md) non-null scalar[​](#id "Direct link to id")

#### [`uploadDocument.contentType`](#content-type) ● [`String!`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) non-null scalar[​](#content-type "Direct link to content-type")

### Type[​](#type "Direct link to Type")

#### [`UploadFile`](https://docs.monei.com/apis/graphql/types/objects/upload-file/.md) object[​](#uploadfile- "Direct link to uploadfile-")

Pre-signed URL for uploading a file to MONEI storage.
