Convert Cloud API
Overview
The Convert Cloud API provides document format conversion services including HTML to PDF, Word to HTML, template rendering, and data field transformation.
Base Endpoint: /biz/cloud/convert
Modules
| Module | Endpoint | Description |
|---|---|---|
| HTML to PDF | /biz/cloud/convert/html2pdf | Convert HTML content to PDF document |
| HTML2PDF Record | /biz/cloud/convert/html2pdf/record/by-request-id | Query async HTML2PDF conversion status |
| Word to HTML | /biz/cloud/convert/convert/doc2html | Convert Word document to HTML |
| Template Rendering | /biz/cloud/convert/template_message | Render Jinja2 templates |
| Array Field Converter | /biz/cloud/convert/array_field_converter | Transform array field values |
Authentication
All requests require API credentials via headers:
| Header | Description |
|---|---|
X-API-Key | Your API key |
X-API-Secret | Your API secret |
Request Format
All endpoints accept POST requests with a bizContent form parameter containing a JSON string:
bash
curl -X POST "https://api.alaikis.com/std/biz/cloud/convert/{endpoint}" \
-H "X-API-Key: your_api_key" \
-H "X-API-Secret: your_api_secret" \
-d 'bizContent={"key": "value"}'Response Format
json
{
"code": 200,
"msg": "success",
"data": {}
}Rate Limiting
- Standard: 100 requests/hour
- Premium: 500 requests/hour
- Enterprise: Custom limits
Support
Contact: support@alaikis.com