Skip to main content
POST
/
documents
/
{identifier}
/
exports
/
pdf
Create a document pdf export
curl --request POST \
  --url https://api-joy.joyfill.io/v1/documents/{identifier}/exports/pdf \
  --header 'Content-Type: application/json' \
  --data '{
  "fields": [
    "<any>"
  ],
  "timezone": "UTC"
}'
"{\n  \"download_url\": \"String\",\n  \"preview_url\": \"String\"\n}"

Headers

Authorization
string

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

Path Parameters

identifier
string
required

A document's unique identifier. Specifies that you want to use a saved Joyfill document to generate the PDF export.

Body

application/json
fields
any[]

Specifies a list of JoyDoc Fields that you would like to merge/overwrite inside the targeted document identifier.

timezone
string
default:UTC

Response

200 - application/json

200

download_url
string
Example:

"String"

preview_url
string
Example:

"String"