GET
/
v1-preview
/
models
/
document-conversion
/
{documentId}
/
{format}
using ABBYY.DocumentAI;
using ABBYY.DocumentAI.Schemas.Components;
using ABBYY.DocumentAI.Schemas.Requests;

var sdk = new DocumentAI(apiKeyAuth: "<YOUR_BEARER_TOKEN_HERE>");

var res = await sdk.Models.DocumentConversion.DownloadConvertedDocumentAsync(
    documentId: "wh23anb5xjf0ntw5taase5qz",
    format: DocumentConversionOutputFormat.Html
);

// handle response
This response does not have an example.

Authorizations

Authorization
string
header
required

Our API offers authentication via API keys. You can obtain an API key from https://developer.abbyy.com

Path Parameters

documentId
string
required

The id of the document

format
enum<string>
required

The format of the results.

Available options:
html,
pdf

Response

200
application/octet-stream

The file containing the OCR results

The response is of type file.