title: DocuSign Request Signature by providing a pre-filled pdf document, while referencing the template id in DocuSign which defines the signature tab
body: <p>I have a PDF <a href="http://www.irs.gov/pub/irs-pdf/f4506t.pdf" rel="nofollow">document</a> stored as Docusign Template that just defines a signature tab and no other information is filled in that PDF. From my application, I will be providing the same PDF with information filled in. Is it possible to request signature from my client providing the pre-filled PDF and reference the Docusign Template, so the signature tab shows up with the pre-filled data?</p>
  
  <p>I am not sure if there is an API that supports this requirement. I looked at using <a href="https://www.docusign.com/p/RESTAPIGuide/Content/REST%20API%20References/Send%20an%20Envelope%20from%20a%20Template.htm" rel="nofollow">composite templates</a>, but it did not work as I expected, may be I was using it wrong. Here is the json request:</p>
  
  <pre><code>--BOUNDARY
  Content-Type: application/json
  Content-Disposition: form-data
  
  --BOUNDARY
  Content-Type: application/pdf
  Content-Disposition: file; filename="form4506-doe.pdf"; documentId=1
  
  {
  "emailSubject": "Sent from a Template",
  "templateRoles": [],
  "status": "sent",
  "compositeTemplates": [
  {
    "serverTemplates": [
      {
        "sequence": "1",
        "templateId": "10ce17a0-0a25-4485-883c-72c1da059d13"
      }
    ],
    "inlineTemplates": [
      {
        "sequence": "1",
        "recipients": {
          "editors": [],
          "agents": [],
          "signers": [
            {
              "clientUserId": "1",
              "recipientId": "1",
              "name": "John Doe",
              "email": "jdoe@example.com"
            }
          ],
          "certifiedDeliveries": [],
          "carbonCopies": []
        }
      }
    ],
    "document": {
      "name": "form4506-doe.pdf",
      "documentId": "1"
    }
  }
  ]
  }
  
  --BOUNDARY--
  </code></pre>
  
  <p>This request sent the pre-filled PDF to the client, but the signature tab is missing (which I expect it to have come from the template). Appreciate any help from DocuSign support.</p>