Skip to main content
POST
Cancel document

Authorizations

X-Api-Key
string
header
required

API key from the Documate app (Settings → API keys). You may also send Authorization: ApiKey YOUR_API_KEY.

Path Parameters

documentId
string<uuid>
required

Response

OK

id
string<uuid>
queueId
string<uuid>
fileId
string<uuid>
batchId
string<uuid> | null
documentTypeId
integer | null
documentTypeKey
string | null
agentId
string<uuid> | null
publicStatusKey
string | null
internalStageKey
string | null
errorCode
string | null
errorMessage
string | null
resultJson
unknown
webhookStatusKey
string | null
webhookAttempts
integer
webhookLastHttpStatus
integer | null
createdAt
string<date-time>
completedAt
string<date-time> | null
downloadUrl
string | null

URL of this document's PDF. Null until that PDF is stored. Never the file download URL. When the file is one document covering every page, the PDF bytes may equal the upload.

downloadUrlExpiresAt
string<date-time> | null

Null while downloadUrl is null.