基础 URL
https://api.hotconvert.com/api/v1所有执行转换的 API 端点都需要使用 API 密钥进行身份验证。在请求头中包含您的 API 密钥。
X-API-Key: your-api-key-herecurl -X POST "https://api.hotconvert.com/api/v1/convert" \
-H "X-API-Key: your-api-key" \
-F "[email protected]" \
-F "targetFormat=docx"{
"success": true,
"message": "File successfully converted",
"data": {
"downloadUrl": "https://api.../files/abc123.docx",
"fileName": "abc123.docx",
"fileSize": 45678,
"sourceFormat": "PDF",
"targetFormat": "DOCX",
"conversionId": "abc123",
"durationMs": 1234
}
}直接从浏览器测试转换 API。输入您的 API 密钥,选择文件并尝试。
// 响应将显示在这里不同编程语言的即用代码片段。
// Loading...