docusign / docusign-objc-client

The Official DocuSign Objective-C Client Library used to interact with the eSign REST API. Send, sign, and approve documents using this client.
https://www.docusign.com/devcenter
MIT License
13 stars 14 forks source link

How to update the clientuserid ? #28

Open abhim1509 opened 2 years ago

abhim1509 commented 2 years ago

We are creating the envelops with two ways viz. from our application(Embedded Signing) and docusign webportal(Remote Signer). While creating envelop from application we set clientuserid in signer object which is required for embedded signing, however clientuserid is not present for the envelops which are created from docusign portal. How do we update the signer in envelop with a clientuserid?

karankaushik95 commented 2 years ago

Hi Abhinav,

You can update the recipient for a captive signer by making a put request to the /accounts/{{accountId}}/envelopes/{{envelopeId}}/recipients endpoint and sending a signer object { "signers": [ { "fullName": "Captive Recipient Reassign", "firstName": "Captive", "lastName": "Recipient Reassign", "recipientId": "1", "clientUserId": "4523", "roleName": "Signer 1", "status": "Sent", "email": "<email_here>" } ], }

You would need to create a signing URL for them since the URL has a short expiration period