Skip to content

With Postman

Create a new POST request using the following URL: https://api.doppio.sh/v1/render/pdf/direct.

Open the Authorization tab, select Bearer Token, and paste your token. You can find it under the API key tab in the app. It should look like this:

Postman bearer token example

Next, open the Body tab, select the raw sub-tab, change the body type from Text to JSON, and paste the request body you want to send. Here's an example:

json
{
    "page": {
        "pdf": {
            "printBackground": true
        },
        "goto": {
            "url": "https://www.spacejam.com/1996/",
            "options": {
                "waitUntil": [
                    "networkidle0"
                ]
            }
        }
    }
}

In Postman, it should look like this:

Postman request body example

You're all set. Send the request to generate and download the PDF.

All rights reserved