Send a DWG file, get the converted PDF delivered to your webhook. No options field: the conversion has no tunable parameters.
See the DWG to PDF tool page, or the docs index for authentication, the shared request/webhook contract, and the generic error table.
POST /webhooks/trigger, same endpoint and fields as every tool, since this is the default tool when the tool field is omitted.
curl -X POST https://api.anyconvert.app/webhooks/trigger \ -H "x-api-key: your_api_key_here" \ -F "file=@site-plan.dwg" \ -F "fileId=drawing-001" \ -F "referenceId=reference-001"
Billed per page, but accumulated across requests rather than per request: today's renderer draws only model space, so every conversion is exactly one page. 1 credit covers 7 pages total, so seven separate single-page DWG conversions cost 1 credit altogether, not seven: pages 1 through 6 of every batch of 7 charge nothing, and the 7th completes the credit.
If a key's balance can't cover a credit the moment a batch of 7 completes, that request is rejected with 401 the same way running out of credits is for every other tool; the 6 pages already counted toward it are not lost, they're still waiting on the key once more credits are available.
Delivered via the webhook as outcome=failure with a reason below; see the docs index for the full delivery shape.
| empty_modelspace | The drawing has no visible geometry to render. |
| invalid_file | The file could not be read, or was not the format this tool expects. |
| render_failed | Something failed during conversion that wasn’t a problem with the input itself. |
| timeout | The job did not finish within its time budget. |
| internal_error | An unexpected error on our side. |