Skip to content

HTTP API

Download the original

GET
/v1/documents/{document_id}/original
curl --request GET \
--url https://sergo.example.com/v1/documents/example/original \
--header 'Authorization: Bearer <token>'

The file as it was uploaded.

document_id
required
Document Id
string

The file

Media typeapplication/octet-stream

Validation Error

Media typeapplication/json
RequestError
object
code
required
Code
string
Allowed value: invalid_request
message
required
Message

What was wrong, field by field

string

Example

{
"code": "invalid_request"
}