cURL
curl --request POST \ --url https://api.weblinq.dev/v1/web/pdf \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "url": "<string>", "waitTime": 0, "base64": false }'
{ "success": true, "data": { "pdf": "<string>", "metadata": { "size": 123, "url": "<string>", "timestamp": "<string>" }, "permanentUrl": "<string>", "fileId": "<string>" }, "creditsCost": 123, "requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "timestamp": "2023-11-07T05:31:56Z" }
Convert a web page to PDF format
Enter your API token or session token
PDF generation parameters
The body is of type object.
object
PDF generated successfully
The response is of type object.