Skip to Content
Uploads

Get an upload

GET
/uploads/{uploadId}

Returns the state of an upload. For a converted DOCX, this read registers the resulting PDF and returns it as document.

Authorization

headerAuthorizationBearer <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

Path Parameters

uploadId*string
Formatuuid

Response Body

Upload resource. A successful conversion needs this read to register its document.

application/json
  1. response
id*string
Formatuuid
status*string
Value in"pending""processing""ready""failed"
document*|null
operationId*string|null
error*string|null
statusUrl*string
eventsUrl*string|null
Example Request
curl -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"}