packet = CreateEtchPacket( name=f"Test Docs - {signer_name}", signature_email_subject="Custom email subject", signature_email_body="Custom please sign these documents....",)sample_template = EtchCastRef(# Our ID we will use to reference and fill it with data.id="sampleTemplate", cast_eid=PDF_TEMPLATE_ID,)packet.add_file_payloads("sampleTemplate",dict( data=dict( name=signer_name, email=signer_email,)))packet.add_signer(EtchSigner(id="signer1", name="Testy Signer", email="testy@signer.com", fields=[ SignerField( file_id="sampleTemplate", field_id="signature")]))packet.add_file(sample_template)anvil = Anvil(api_key=API_KEY)res = anvil.create_etch_packet(payload=packet)packet_details = res["data"]["createEtchPacket"]print("Visit the new packet on your dashboard:", packet_details.get("detailsURL"))
Upload a PDF, create a free etch packet, and send to your signers using the demo below to see what you can automate with Python and the Anvil e-signature API.
Get a demo (from a real person)
Schedule some time on our calendar to talk through your specific use case and see which Anvil products can help.