File tree Expand file tree Collapse file tree
app/eSignature/examples/eg020_phone_authentication Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,9 +44,12 @@ def worker(args):
4444 2. Create an envelope definition object
4545 """
4646 # Construct your API headers
47+ # Step 2 start
4748 api_client = create_api_client (base_path = args ["base_path" ], access_token = args ["access_token" ])
49+ # Step 2 end
4850
4951 # Construct your envelope
52+ # Step 3 start
5053 envelope_definition = EnvelopeDefinition (
5154 email_subject = "Please sign this document set"
5255 )
@@ -97,10 +100,13 @@ def worker(args):
97100
98101 # Tabs are set per recipient
99102 envelope_definition .recipients = Recipients (signers = [signer1 ])
103+ # Step 3 end
100104
101105 # Call the eSignature REST API
106+ # Step 4 start
102107 envelopes_api = EnvelopesApi (api_client )
103108 results = envelopes_api .create_envelope (account_id = args ["account_id" ], envelope_definition = envelope_definition )
109+ # Step 4 end
104110
105111 return results
106112
You can’t perform that action at this time.
0 commit comments