Skip to main content
POST
Create Clarity Document Upload URL

Authorizations

Authorization
string
header
required

API key authentication. Get your API key from the Duvo dashboard.

Path Parameters

id
string<uuid>
required

The clarity process ID

Body

application/json
fileName
string
required

Name of the document file

Minimum string length: 1
contentType
enum<string>
required

MIME type of the document

Available options:
application/pdf,
text/plain,
text/markdown,
application/xml
extraCaptureRequestId
string<uuid>

Extra-capture-request id to bind this capture to

Response

Default Response

signedUrl
string<uri>
required

The signed URL for uploading

captureId
string<uuid>
required

The capture ID for completing upload

expiresAt
string<date-time>
required

When the URL expires

gcsPath
string
required

The GCS path where file will be stored