Stirling PDF icon

Stirling PDF

Merged API: Stirling PDF - Processing API + Stirling PDF - Management API + Stirling PDF - System API

Actions260

Signing Sessions → Sign Document

AI-generated

Summary

Sign a PDF document within a specified signing session by providing certificate details and optional metadata such as reason and location for the signature.

Inputs

  • Session Id (required) — Specify the unique identifier of the signing session to which the document belongs.
  • Cert Type (required) — Select the type of certificate to use for signing the document.
  • Input Binary Field Name (P12 File) — Specify the binary property name containing the P12 certificate file data, if using a P12 file.
  • Password — Provide the password for the P12 file or private key, if applicable.
  • Input Binary Field Name (Private Key File) — Specify the binary property name containing the private key file data, if using separate key files.
  • Input Binary Field Name (Cert File) — Specify the binary property name containing the certificate file data.
  • Reason — Provide a reason for signing the document.
  • Location — Provide a location where the signing takes place.
  • Wet Signatures Data — Include wet signature markup data if applicable.
  • Wet Signatures — Specify wet signature metadata, if used.

Output shape

a single record

Returns the response from the signing session indicating the result of the sign document request. The output includes details about the signed document and the signing process.

Examples

Example 1: Sign a document in a session using a P12 certificate with password

Provide 'Session Id', 'Cert Type', set 'Input Binary Field Name (P12 File)' to the binary property holding the P12 file, provide 'Password', and optionally 'Reason' and 'Location'.

Links

Discussion