Skip to content

With Postman

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

Go in the authorization tab, chose Bearer token and paste your token (you can find it in the API key tab of the app). You should have something like that:

Postman bearer token example

Now go in the Body tab, select the raw sub-tab, change the body type from Text to JSON and write the request you want. Here is an example of a body request:

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

In Postman, it will look like that:

Postman request body example

It is already done! Send the request and enjoy your PDF!

All rights reserved