Skip to main content
POST
/
utilities
/
pdf
/
to
/
png
/
datauri
Convert PDF to PNGs (data uri)
curl --request POST \
  --url https://api-joy.joyfill.io/v1/utilities/pdf/to/png/datauri \
  --header 'Content-Type: application/json' \
  --data '{
  "file": "<string>"
}'
"{\n\t\"items\": [\n    { \"url\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABqQAAAiYCAIAAAA+NVHkAAAACXBIWXMAAB7CAAAewgFu0HU+AAD...\" } \n  ]\n}"

Headers

Authorization
string

Supports both API Key and User Access Token authorization. See https://joyfill.mintlify.app/api/authentication

Body

application/json
file
string

PDF Data URI

Response

200 - application/json

200

items
object[]