Tools API Blog
Sign in Create account

PDF metadata

Metadata is an API that reads or changes a PDF's internal info: title, author, subject, keywords, who created it, and its dates. Great for organizing documents generated in bulk from n8n, Make or Zapier, with no servers to maintain.

How it works

You send a PDF. If you don't send anything else, you get its current metadata back (read mode). If you send any field (say, title), you get back the same PDF with that field updated (write mode): only the fields you send are touched, everything else stays as it was.

All you need

  • Your API key. Create it in your dashboard with "+ Create key". It's shown only once, so copy and save it.
  • In your automation platform, an "HTTP Request" step (n8n, Make, Zapier, Pipedream… all have one).

Read a PDF's metadata

You send your PDF as is (as binary data), nothing else, and get its data back in JSON. In the HTTP Request node:

  • Method: POST
  • URL: https://api.cofferdock.com/pdf-metadata
  • Send Headers: on → add two: x-api-key = your key, and Content-Type = application/pdf
  • Send Body: on → choose the binary file option (in n8n: "n8n Binary File", with your PDF's binary property, usually data)

The response carries { "metadata": { "title": "...", "author": "...", ... } }.

Change the title, author or other fields

Add whichever fields you want to change as Query Parameters, e.g. title = Invoice 2026. Under Options → Response → Response Format choose File to get the updated PDF directly.

In Make: same method and URL, the fields to change in Query String, the two headers, and the PDF as binary data in the body.

Available fields

FieldWhat it does
titleDocument title.
authorAuthor.
subjectSubject/description.
keywordsComma-separated keywords, e.g. invoice,2026,client.
creatorProgram/person who created the original document.
producerWho generated this specific PDF.
creation_dateCreation date, format 2026-08-02T10:00:00Z.
modification_dateLast modified date, same format.

What you get back

Read mode: a JSON object with the current metadata. Write mode: the updated PDF itself (or in base64 with output=json).