title: Docusign Embedded Signing
body: <p>We are using <code>docusign</code> for people to sign consent forms that register on our web site and I was pointed to the Embedded Signing API.</p>
  
  <p>From what I understood,  I had to create an envelope which I have done. </p>
  
  <p>I am using the .Net examples for this.</p>
  
  <p>Login through the API fine, but I get the following error trying to get the URL back from the API:</p>
  
  <pre><code>ENVELOPE_IS_INCOMPLETE The Envelope is not Complete. A Complete Envelope Requires Documents, Recipients, Tabs, and a Subject Line.
  </code></pre>
  
  <p>Here is my envelopeDefinition xml:</p>
  
  <pre><code> string requestBody = "&lt;envelopeDefinition xmlns=\"http://www.docusign.com/restapi\"&gt;" +
              "&lt;accountId&gt;" + accountId + "&lt;/accountId&gt;" +
              "&lt;status&gt;sent&lt;/status&gt;" +
              "&lt;emailSubject&gt;API Call for Embedded Sending&lt;/emailSubject&gt;" +
              "&lt;emailBlurb&gt;This comes from C#&lt;/emailBlurb&gt;" +
              "&lt;templateId&gt;[TEMPLATE ID FROM DOCUSIGN]&lt;/templateId&gt;" +
              "&lt;templateRoles&gt;" +
              "&lt;email&gt;testregister@notrealurl.com&lt;/email&gt;" +  // NOTE: Use different email address if username provided in non-email format!
              "&lt;name&gt;testregister@notrealurl.com&lt;/name&gt;" + // username can be in email format or an actual ID string
              "&lt;roleName&gt;Signer&lt;/roleName&gt;" +
              "&lt;/templateRoles&gt;" +
              "&lt;/envelopeDefinition&gt;";
  </code></pre>
  
  <p>I saw another posting about needing a clientUserId here:</p>
  
  <p><a href="http://community.docusign.com/t5/DocuSign-API-Integration-NET/REST-API-net-Error-message-when-creating-the-envelope-from-a/m-p/18121#M1791" rel="nofollow">http://community.docusign.com/t5/DocuSign-API-Integration-NET/REST-API-net-Error-message-when-creating-the-envelope-from-a/m-p/18121#M1791</a></p>
  
  <p>But I am not sure how to implement in the envelopeDefinition.</p>
  
  <p>Please help!</p>