Anna | Posts: 2

Embedding document on a web page

0 votes
Hi guys, I looked around and am not able to find confirming on this: is it possible to embed the form/package for user to sign on our website? All of our users have their own account and it would be nice to be able to display the form directly in their account. Let me know as soon as you get a chance. Thanks!

harishaidary | Posts: 1812

Reply to: Embedding document on a web page

0 votes
You can embed the signing session using an iframe. You will need to create a signer authentication token and build the following URL to embed in your iframe: https://sandbox.e-signlive.com/access?sessionToken={signerAuthenticationToken}. You can find more information on the signer authentication here: http://docs.e-signlive.com/doku.php?id=esl:api:e-signlive_session_creation#post_signerauthenticationtokens

Anna | Posts: 2

Reply to: Embedding document on a web page

0 votes
This is super helpful, thank you! As far as package ID, I don't see an easy way to get this (e.g. for a large group of signers) at once. Is there a way to export the IDs and/or retrieve easily? Where do I find signer ID? Sorry, new to the system :(

harishaidary | Posts: 1812

Reply to: Embedding document on a web page

0 votes
No worries :) For each package you create with the REST API, eSignLive will return you the package id as a response. As for the signer id, the easiest way to get it would to assign one manually when adding a signer to your package. Below is a sample JSON on how you would build your roles object with a custom id:
{
  "roles": [
    {
      "id": "Signer1",
      "type": "SIGNER",
      "signers": [
        {
          "lastName": "Smith",
          "email": "[email protected]",
          "firstName": "John"
        }
      ],
      "name": ""
    }
  ]
}
You can also have a look at this blog where it shows you a complete JSON example: https://www.esignlive.com/blog/e-signlive-for-new-users-how-to-create-and-send-your-first-package-rest-api/ . In that blog, you can see how the custom id is assigned to signers and used to add approvals on your document

dtawil | Posts: 1

Reply to: Embedding document on a web page

0 votes
Hi guys, Is it possible to embed the document signing without an iframe? Thank you, Hristo

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