POST https://app.dumplingai.com/api/v1/convert-to-pdf
application/json
<API_KEY>
{ "inputMethod": "string", // Required. Either "url" or "base64" "file": "string" // Required. URL or base64-encoded file content }
{ "url": "string" // URL to the converted PDF file }
{ "error": "Error message describing the issue" }
{ "error": "Failed to convert to PDF: [error details]" }
curl -X POST https://app.dumplingai.com/api/v1/convert-to-pdf \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{ "inputMethod": "url", "file": "https://example.com/document.docx" }'
GET /api/v1/convert-to-pdf
X-RateLimit-Limit
X-RateLimit-Remaining