Actions260
- Admin Job Management Actions
- Admin License Management Actions
- Admin Server Certificate Actions
- Admin Settings Actions
- AI Tools Actions
- Analysis Actions
- Audit Actions
- Authentication Actions
- Convert Actions
- Convert Ghostscript Inputs To Pdf
- Url To Pdf
- Convert Json To Pdf
- Convert Svg To Pdf
- Process Pdf To XML
- Pdf To Excel
- Process Pdf To Word
- Convert Pdf To Vector
- Process Pdf To RT For TXT
- Convert Pdf To Json
- Export Partial Pdf
- Extract Pdf Metadata
- Clear Cache
- Process Pdf To Presentation
- Pdf To Pdf A
- Process Pdf To Markdown
- Convert To Image
- Process Pdf To HTML
- Convert Pdf To Epub
- Pdf To Csv
- Convert Pdf To Cbz
- Convert Pdf To Cbr
- Markdown To Pdf
- Convert To Pdf
- Html To Pdf
- Process File To PDF
- Convert Eml To Pdf
- Convert Ebook To Pdf
- Convert Cbz To Pdf
- Convert Cbr To Pdf
- Extract Single Page
- Extract Page Fonts
- Database Actions
- File Storage Actions
- Filter Actions
- Forms Actions
- General Actions
- Info Actions
- Invite Actions
- Job Management Actions
- Misc Actions
- Metadata
- Unlock PDF Forms
- Extract Header
- Scanner Effect
- Replace And Invert Color
- Repair Pdf
- Rename Attachment
- Remove Blank Pages
- Process Pdf With OCR
- List Attachments
- Flatten
- Extract Images
- Extract Image Scans
- Extract Attachments
- Delete Attachment
- Decompress Pdf
- Optimize Pdf
- Auto Split Pdf
- Extract Header 1
- Add Stamp
- Add Page Numbers
- Overlay Image
- Add Comments
- Add Attachments
- Pipeline Actions
- Proprietary UI Data Actions
- Saved Signatures Actions
- Security Actions
- Signature Assets Actions
- Signing Sessions Actions
- Team Actions
- UI Data Actions
- User Actions
- Workflow Participant Actions
Misc → Add Page Numbers
AI-generatedSummary
Add page numbers to a PDF file with customizable position, font, color, margin, and numbering format.
Inputs
- fileInputBinaryProperty — Name of the binary property containing the PDF file data to be processed (default 'data').
- fileId — File ID to reference a server-side PDF file instead of uploading binary data.
- pageNumbers (required) — Specifies which pages to number; accepts 'all', ranges like '1,3,5-9', or functions like '2n+1'.
- customMargin — Margin size for page numbers positioning: small, medium, large, or x-large.
- fontSize (required) — Font size to use for the page numbers.
- fontType (required) — Font type for page numbers: Helvetica, Courier, or Times.
- fontColor — Hex color code for the page number text (e.g., #000000).
- zeroPad — Number of digits to zero-pad page numbers; 0 disables padding.
- position (required) — Position on the page to place the page number, from 1 (top-left) to 9 (bottom-right).
- startingNumber (required) — The starting number used for the first page number inserted.
- pagesToNumber — Specifies which pages to apply numbering to, similar to 'pageNumbers'.
- customText — Text pattern for page numbers supporting placeholders: {n} for page number, {total} for total pages, {filename} for original file name.
Output shape
a single modified PDF file with page numbers added, returned as binary data
Output contains the updated PDF binary with page numbers overlaid according to the specified parameters. Input can be binary PDF data or referenced by file ID. Optional parameters control styling and page selection.