Skip to main content
POST
Create asynchronous document conversion task

Authorizations

X-API-KEY
string
header
required

Production API Key. You can find it under My API in the ADP platform. Make sure the API Key is active and belongs to the production environment.

Path Parameters

tenant_name
string
default:laiye
required

Tenant name. Default: laiye.

Body

application/json

Asynchronous conversion currently always returns page results as URLs. The backend ignores result_mode, so the public contract does not expose that field.

file_url
string<uri>
required

Public HTTPS URL of the file to convert.

Maximum string length: 2048
file_base64
string<byte>

Base64 content of the file to convert. The decoded file can be at most 50 MiB.

scale
number
default:1
first_convert_page
integer
Required range: x >= 1
last_convert_page
integer
Required range: x >= 1

Response

Asynchronous document conversion task creation result.

code

Business code. A successful response is usually success or 200.

message
string

Response message.

tips
string | null

Details. Defaults to null.

data
object | null