mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-15 11:52:14 +01:00
14 lines
461 B
Markdown
14 lines
461 B
Markdown
---
|
|
title: Filename
|
|
---
|
|
|
|
All endpoints accept a form field named `filename`.
|
|
|
|
If provided, the API will return the resulting PDF file with the given filename.
|
|
Otherwise a random filename is used.
|
|
|
|
> The Go and PHP libraries do not provide a way to set this form field.
|
|
> However, you may hijack the response from the API or store the resulting PDF
|
|
> using a custom filename.
|
|
>
|
|
> **Attention:** this feature does not work if the form field `webhookURL` is given. |