Skip to main content

Read metadata

Returns a buffer containing the metadata (format depends on Gotenberg). Typically used for inspection or debugging. downloadFrom, webhook, outputFilename, and trace are also accepted β€” see Request tracing.

Write metadata

The metadata object uses standard PDF/XMP field names. For a full list of supported keys, see ExifTool PDF/XMP tag names. downloadFrom, webhook, outputFilename, and trace are also accepted.

Read bookmarks

Returns a JSON buffer containing bookmarks for each input file. Optional webhook, output ({ outputFilename?, trace? }), and downloadFrom can be passed as the 2nd–4th positional arguments.

Write bookmarks

bookmarks accepts either a list applied to all files or a filename-to-list map. downloadFrom, webhook, outputFilename, and trace are also accepted β€” see Request tracing.