hsamson | Posts: 11

Add a signer to an existing package

0 votes
How do I add a signer to a package that I've already created? I see how to create a package with signers already in it by following this tutorial: https://www.silanis.com/blog/e-signlive-for-new-users-how-to-create-and-send-your-first-package-java-sdk/ But I don't see in there how to do it if the package is already created. Thanks, hsamson

Approved Answer
harishaidary | Posts: 1812

Reply to: Add a signer to an existing package

0 votes
The first step in adding a signer to your existing package is retrieving your packageId. Once you have it, you build your signer object and add it to your package with the eSignLive client. Here is an example:
PackageId packageId = new PackageId("d9355f04-9bb2-4219-b9fa-734f2650a939");
	
    	Signer signer = newSignerWithEmail("[email protected]")
                .withFirstName("FirstName")
                .withLastName("LastName").build();
    	
    	eslClient.getPackageService().addSigner(packageId, signer);

hsamson | Posts: 11

Reply to: Add a signer to an existing package

0 votes
That did it. Thanks!

harishaidary | Posts: 1812

Reply to: Add a signer to an existing package

0 votes
You're welcome :)

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off