Delivery Modes
PDFKong supports multiple ways to deliver the generated PDF. You can stream it back directly, receive a base64 string, upload it directly to your AWS S3 bucket, or receive it asynchronously via webhook.
Understanding Delivery Modes
store_file: true, it is stored temporarily to return a secure download URL. Zero-retention by default.
Main Configuration
Specifies the response output flow mechanism: inline, attachment, json, base64, s3, webhook, jsonp. Note: Zero-retention is strictly enforced by default. Files are processed in-memory and deleted immediately.
If true, the generated PDF is stored temporarily for 24 hours (useful to get a public URL in JSON mode). If false, zero-retention is enforced and no files are stored.
Webhook Configuration
Required when delivery_mode is set to webhook.
Webhook URL callback endpoint.
Amazon S3 Configuration
Required when delivery_mode is set to s3.
Amazon S3 target bucket name.
AccessKeyID of your S3 bucket.
Secret of your S3 bucket.
Amazon S3 bucket service region.
Custom folder upload sub-path key.
Google Cloud Storage Configuration
Required when delivery_mode is set to google_storage.
Your Google Cloud Platform Project ID.
The email address of your GCP service account.
The private key associated with your GCP service account.
The name of your target Google Cloud Storage bucket.
JSONP Configuration
Required when delivery_mode is set to jsonp.
Function name for the jsonp delivery mode.