# AddDocumentVersionInput input


A new version of a document, for [`addDocumentVersion`](/chameleoon-max/mutation/add-document-version).

## Input fields

### requestId

`String!` · required

Your idempotency key for this call, an opaque string of 1 to 128 bytes, unique within the
organisation.

### documentId

[`UUID!`](/chameleoon-max/type/uuid) · required

The document's MAX id.

### fileId

[`UUID!`](/chameleoon-max/type/uuid) · required

The `fileId` that `POST /api/v1/files` returned for the upload.

### note

`String`

A note about this version. At most 2000 characters.

## Used by

- [`addDocumentVersion`](/chameleoon-max/mutation/add-document-version) (mutation)
