1. Overview
  2. API Reference
  3. PDF Conversion Parameters

PDF Conversion Parameters

resType (string)
Options: display or download or buffer
documentId (string)
Document id which is situated beneath the document 
apiKey (string)
Retrieve the API key from My Account section 
engine (string)
Options: 1 or 2 or 3
data (object)

An object containing informations.


        "client": "Sample Client",
        "products": [
                "name": "Product A",
                "unit": 1,
                "price": "20USD"
        "total": "100USD",
        "logo": {
            "type": "image",
            "url": "[image_url]",
            "width": "200px"
sendTo (object)

This will send generated PDF to email addresses automatically.


    "email": ["first_email", "second_email"],
    "subject": "[email_subject]",
    "message": "[email text / html]"

Was this article helpful?