Skip to main content
Question

Auto signing implementation

  • March 12, 2025
  • 1 reply
  • 22 views

Forum|alt.badge.img+1

I have been trying to place signature image directly without having the user to sign it. I have used sign here tabs and added stamp tabs in it. But in the received document, it is still expecting the user to manually sign it.

I have researched enough,I am not finding any resource which solves my problem.

here is the code took some help from AI. This does seem to work. Is it even possible to achieve this? If yes, how?

```
args = {
    "account_id": jwt_values["api_account_id"],
    "base_path": jwt_values["base_path"],
    "access_token": jwt_values["access_token"],
}

api_client = create_api_client(
    base_path=args["base_path"],
    access_token=args["access_token"],
)

env = EnvelopeDefinition(
    email_subject="Please sign this document set",

)
env.documents = []
document2 = Document(  # create the DocuSign document object
    document_base64=base64.b64encode(file_bytes).decode('utf-8'),
    name='Sample Document',
    file_extension='pdf',
    document_id='1'
)
env.documents.append(document2)

signer1 = Signer(
    email='srinivasst@arkaenergy.com',
    name='vaasu',
    recipient_id="1",
    routing_order="1",
)


signer1.tabs = Tabs(
    sign_here_tabs=[
        SignHere(
            anchor_string="Valid Upto September 2023",
            anchor_units="pixels",
            stamp_type='signature',
            stamp=Stamp(

                image_type='initials_image',

                signature_name='srinivas',
                # image_base64=signature_base64,
                stamp_image_uri="https://m.media-amazon.com/images/I/31fLWHfjAOL._SY300_SX300_QL70_FMwebp_.jpg",
                status='sent'


            )

        )
    ]
)

env.recipients = Recipients(signers=[signer1])   
env.status = "sent"
envelopes_api = EnvelopesApi(api_client)
results = envelopes_api.create_envelope(
    account_id=args["account_id"],
    envelope_definition=env,
)

1 reply

Forum|alt.badge.img+3
  • Docusign Employee
  • 12 replies
  • March 13, 2025

Hi,

My name is Sean, I am with the Developer Support team at Docusign.

It is not possible to implement automated signing or “robo signing” as this would not make the contract binding, there needs to be a human interaction for a contract to be binding.