cURL
curl --request POST \ --url http://localhost:5252/generate-pdf \ --header 'Content-Type: application/json' \ --header 'x-api-token: <api-key>' \ --data ' { "presetId": "<string>", "logId": "<string>" } '
{ "success": true, "data": { "filename": "output.pdf", "mimeType": "application/pdf", "base64": "<string>" } }
Generates PDF and returns it’s data
PDF Preset ID
Log ID or IDs
PDF data
Show child attributes
Was this page helpful?