HerramientasTools
Entrar Crear cuenta

Números de página en PDF

Números de página es una API que añade la numeración a un PDF que no la tiene. Perfecto para informes, contratos o dosieres generados desde n8n, Make o Zapier, sin montar servidores.

Cómo funciona

Le mandas un PDF y te devuelve el mismo PDF con el número añadido en cada página, abajo en el centro por defecto. Puedes elegir la posición, el formato del texto (solo el número, o "3 de 10"), desde qué número empezar y qué páginas numerar. No guarda nada.

Si eliges solo algunas páginas (para saltarte una portada, por ejemplo), la numeración empieza en el número inicial que elijas DESDE la primera página seleccionada — no usa el número real de esa página en el documento.

Lo único que necesitas

  • Tu API key. La creas en tu panel con "+ Crear llave". Se muestra una sola vez, así que cópiala y guárdala.
  • En tu plataforma de automatización, un paso de tipo "HTTP Request" / "Hacer una petición HTTP" (lo tienen n8n, Make, Zapier, Pipedream…).

Cómo usarlo en n8n (paso a paso)

Le envías tu PDF tal cual (como archivo binario) y te devuelve el PDF numerado directamente. En el nodo HTTP Request:

  • Method: POST
  • URL: https://api.cofferdock.com/pdf-page-numbers
  • Send Query Parameters: actívalo y añade lo que quieras cambiar, ej. position = bottom-right (ver la tabla para el resto).
  • Send Headers: actívalo y añade dos: x-api-key = tu llave, y Content-Type = application/pdf
  • Send Body: actívalo → elige la opción para mandar un archivo binario (en n8n: "n8n Binary File", con la propiedad binaria de tu PDF, normalmente data)
  • En Options → Response → Response Format: elige File

En Make (módulo HTTP → Make a request): mismo método y URL, opciones en Query String, las dos cabeceras, y el PDF como dato binario en el cuerpo.

Opciones (en Query Parameters)

OpciónPor defectoPara qué sirve
positionbottom-centerbottom-center, bottom-left, bottom-right, top-center, top-left, top-right.
format{n}Texto del número. Usa {n} para el número y {total} para el total de páginas, ej. Página {n} de {total}.
start1Número de la primera página numerada.
pagestodasQué páginas numerar, ej. 2-10 para saltarte la portada.

Lo que recibes

El PDF numerado directamente, listo para guardar o enviar. (En modo JSON, el PDF llega en base64.)

PDF page numbers

Page numbers is an API that adds numbering to a PDF that doesn't have any. Great for reports, contracts or dossiers generated from n8n, Make or Zapier, with no servers to maintain.

How it works

You send a PDF and get back the same PDF with a number added to every page, bottom-center by default. You can choose the position, the text format (just the number, or "3 of 10"), which number to start from, and which pages to number. Nothing is stored.

If you only select some pages (to skip a cover page, for example), numbering starts at the number you choose FROM the first selected page — it doesn't use that page's real position in the document.

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).

How to use it in n8n (step by step)

You send your PDF as is (as binary data) and get the numbered PDF back directly. In the HTTP Request node:

  • Method: POST
  • URL: https://api.cofferdock.com/pdf-page-numbers
  • Send Query Parameters: on, and add whatever you want to change, e.g. position = bottom-right (see the table for the rest).
  • 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)
  • Under Options → Response → Response Format: choose File

In Make (HTTP → Make a request module): same method and URL, options in Query String, the two headers, and the PDF as binary data in the body.

Options (as Query Parameters)

OptionDefaultWhat it does
positionbottom-centerbottom-center, bottom-left, bottom-right, top-center, top-left, top-right.
format{n}The number's text. Use {n} for the number and {total} for the page count, e.g. Page {n} of {total}.
start1The number for the first numbered page.
pagesallWhich pages to number, e.g. 2-10 to skip a cover page.

What you get back

The numbered PDF itself, ready to save or send. (In JSON mode, the PDF comes in base64.)