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
Main Configuration
Specifies the response output flow mechanism: inline, attachment, json, base64, s3, webhook, jsonp. Note: In JSON and Webhook modes, files are temporarily stored for 24 hours to allow downloading. In all other modes, files are processed strictly in-memory and are never stored on our servers.
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.