The RED interchange API provides requests for signing electronic documents using the Telematik Infrastruktur features.
Create QES for PDF document
A PDF-1A document may be signed electronically with a qualified electronic signature (QES) using the users HBA by using the request
Example for a signpdf request with HBA name and option for local file
{{baseURL}}/{{tenant}}/Bundle?action=$signpdf&cardname=HBAArzt&localcopy=/Users/alexanderwilms/signedPDF.pdf
cardname - this parameter specifies the signature card by its name. The type of card must be a Heilberufeausweis HBA. Any other type may not be used.
localcopy - this is an optional parameter specifying filepath and filename. if given RED will save a local copy of the signed PDF file.