get
/{tenantId}/v1/documents/{documentId}Get document
Requires Authentication
Documents
Returns metadata for a single document.
Path Parameters
| Name | Type | Description |
|---|---|---|
tenantIdrequired | string (uuid) | Tenant UUID |
documentIdrequired | string (uuid) | Document UUID |
Responses
Document metadata
Response Bodyapplication/json
idstring (uuid)
tenantIdstring (uuid)
documentSetIdstring (uuid)
- ID of the document set this document belongs to, null if standalonefileNamestring
- Original file namecontentTypestring
- MIME content type (e.g., application/pdf, image/png)fileSizeinteger (int64)
- Expected file size in bytesstatusstring
enum: "pending" | "ready" | "failed"- Document status (pending = awaiting upload, ready = uploaded and confirmed)createdAtstring (date-time)
updatedAtstring (date-time)
Code Examples
curl -X GET 'https://api-next.checkio.co.uk/{tenantId}/v1/documents/{documentId}' \
-H 'Authorization: Bearer {token}'