Skip to content
Start free

Customize PDF Title and Filename

Open in ClaudeOpen in ChatGPT

When generating PDFs through the DocSpring API, you can customize both the PDF title (shown in PDF reader applications) and the filename in the download URL.

You can customize the PDF title by setting the pdf_title key in the submission metadata.

For example, if you set pdf_title to Custom PDF Title, then PDF reader applications will display this title.

Customize the PDF Filename in the Download URL

Section titled “Customize the PDF Filename in the Download URL”

You can customize the PDF filename by setting the pdf_filename key in the submission metadata. DocSpring will add the .pdf extension automatically.

For example, if you set pdf_filename to custom_pdf_file123, the submission’s files.pdf.filename is custom_pdf_file123.pdf, and the path of its files.pdf.download_url ends with /submissions/<submission_id>/custom_pdf_file123.pdf.