Skip to content

Set PDF Document Info

This operation updates PDF document metadata fields like author, title, and dates.

POST /api/v1/Pdf/SetPdfDocumentInfo
NameTypeRequiredDefaultDescription
FileContentstringYes-Base64-encoded PDF content
AuthorstringNo-Author to set in metadata
CreationDateDateTimeNo-Creation date to set
KeywordsstringNo-Keywords to set in metadata
ModificationDateDateTimeNo-Modification date to set
SubjectstringNo-Subject to set in metadata
TitlestringNo-Title to set in metadata
NameTypeDescription
fileContentstringThe processed PDF file with updated metadata (Base64 encoded)

The operation modifies the PDF document’s metadata dictionary, updating the specified fields while keeping the document content intact.

  • Only the provided fields will be updated; other metadata will remain unchanged
  • At least one metadata field must be provided
  • Dates should be provided in ISO format
  • This operation is useful for standardizing document metadata before archiving or distribution

Credit Cost

Cost: 1 credit(s) per document

Note: Fixed cost per document regardless of size