PDF Web SDK Documentation

Comprehensive Guide for Developers: UI & SDK Integration, Configuration, and API Reference

PDF Web SDK
    Preparing search index...

    Interface IApiCallbackUrlsConfig

    Webhook per online tool, for results the API delivers after this session stopped waiting.

    Each tool needs its own URL: the callback body is the same status payload GET /operation/v1/{operationId}/status returns, with nothing in it naming the tool that produced it, so the URL your backend receives on is the only thing telling an OCR result from a Translate one. A tool left unset simply fails on timeout as before.

    interface IApiCallbackUrlsConfig {
        ocr?: string;
        translate?: string;
    }
    Index

    Properties

    Properties

    ocr?: string

    Webhook for OCR runs (/ocr/v1, /iris-ocr/v1).

    translate?: string

    Webhook for Translate runs (/translate/v1).