Checkio API
post/{tenantId}/v1/documents/{documentId}/confirm

Confirm document upload

Requires Authentication
Documents

Confirms that the file has been uploaded to S3. The service verifies the object

exists via a HEAD request and updates the document status from "pending" to "ready".

Path Parameters

NameTypeDescription
tenantId
required
string (uuid)Tenant UUID
documentId
required
string (uuid)Document UUID

Responses

Document confirmed and status updated to ready

Response Bodyapplication/json
id
string (uuid)
tenantId
string (uuid)
documentSetId
string (uuid)
- ID of the document set this document belongs to, null if standalone
fileName
string
- Original file name
contentType
string
- MIME content type (e.g., application/pdf, image/png)
fileSize
integer (int64)
- Expected file size in bytes
status
string
enum: "pending" | "ready" | "failed"- Document status (pending = awaiting upload, ready = uploaded and confirmed)
createdAt
string (date-time)
updatedAt
string (date-time)

Code Examples

curl -X POST 'https://api-next.checkio.co.uk/{tenantId}/v1/documents/{documentId}/confirm' \
  -H 'Authorization: Bearer {token}'