Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Hello Sign embedded signature request for pdf coming from stream [readable stream fs] #97

Open
tkssharma opened this issue Aug 12, 2021 · 0 comments
Labels
legacy Related to legacy, non-OpenAPI SDK

Comments

@tkssharma
Copy link

Send an embedded signature request

var options = {
  test_mode : 1,
  clientId : '0836272d66a1b53f9822f3aa07aef704',
  title : 'NDA with Acme Co.',
  subject : 'The NDA we talked about',
  message : 'Please sign this NDA and then we can discuss more. Let me know if you have any questions.',
  signers : [
    {
      email_address : '[email protected]',
      name : 'Jack',
      order : 0,
      sms_phone_number: '+14155550101',
    },{
      email_address : '[email protected]',
      name : 'Jill',
      order : 1,
    }
  ],
  attachments: [
      {
        name: 'Example Name',
        instructions: 'Example instructions',
        signer_index: 1,
        required: 1,
      },
    ],
  cc_email_addresses : ['[email protected]', '[email protected]'],
  files : ['my/files/nda.pdf']
};

My focus here is with this array of files : ['my/files/nda.pdf']
How can I pass a stream of a single file which is not on disk, I have a URL and after download that file I want to pass it in this request
is this possible to pass the stream object of the file to this array of files, it's a very generic feature as we always do not have files on a folder on the server-side machine.

@jtreminio-dropbox jtreminio-dropbox added the legacy Related to legacy, non-OpenAPI SDK label Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
legacy Related to legacy, non-OpenAPI SDK
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants