Stamp page numbers onto a draft PDF
Footer page numbers via pdf-lib. Format n or n_of_m (default). Optional prefix (e.g. “Page “).
POST
/documents/pdf/number-pagesAuthorization
AuthorizationBearer token · headerrequiredPass your API key as a Bearer token. API keys are scoped to specific operations — configure scopes in your organization's Settings → Developer → API Keys.
Request body
requiredapplication/jsonidstringrequiredformatstringAllowed:
nn_of_mpositionstringAllowed:
footer-centerfooter-rightfooter-leftstart_atintegermin 0
prefixstringmax length 40
sizenumbermin 6 · max 48
colorstringpagesinteger[]Responses
200
Numbered
successbooleanstorage_idstringpage_countinteger