Uploads
Get an upload
GET
Returns the state of an upload. For a converted DOCX, this read registers the resulting PDF and returns it as document.
header
AuthorizationBearer <token>Authorization code with S256 PKCE. Discover issuer metadata at /.well-known/oauth-authorization-server/api/auth and resource metadata at /.well-known/oauth-protected-resource/api/v1. Request the /api/v1 resource explicitly. The same token endpoint also supports the advertised OAuth device grant.
Scope: documents:write
uploadId*stringFormat
uuidUpload resource. A successful conversion needs this read to register its document.
application/json- response
id*stringFormat
uuidstatus*stringValue in
"pending""processing""ready""failed"document*|nulloperationId*string|nullerror*string|nullstatusUrl*stringeventsUrl*string|nullcurl -X GET 'https://reader.example/api/v1/uploads/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "pending", "document": { "id": "string", "name": "string", "size": 0, "lastModified": 0, "type": "pdf", "scope": "user", "folderId": "string", "recentlyOpenedAt": 0, "contentVersion": "string", "author": "string", "language": "string", "readingProgress": { "fraction": 0, "updatedAtMs": 0 }, "status": "not_started", "operationId": "string", "error": "string", "webUrl": "http://example.com", "fileUrl": "string" }, "operationId": "string", "error": "string", "statusUrl": "string", "eventsUrl": "string"}