Skip to main content
POST
/
documents
/
exports
/
pdf
Create a document pdf export using Raw JSON Payload
curl --request POST \
  --url https://api-joy.joyfill.io/v1/documents/exports/pdf \
  --header 'Content-Type: application/json' \
  --data '{
  "document": {
    "identifier": "<string>",
    "name": "<string>",
    "files": [
      "<any>"
    ],
    "fields": [
      "<any>"
    ],
    "template": "<string>",
    "group": "<string>",
    "stage": "published"
  },
  "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

Body

application/json
document
object

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"