STX

Sending a Package using the Rest API

0 votes
Hello, I'd like to send a package (transaction--the fact that these separate terms mean the same thing is quite confusing) programmatically using the API (no SDKs as I'm using NodeJS) but I'm not seeing any endpoints in the documentation to do so. Is it possible to send a package using the API?

Approved Answer

Reply to: Sending a Package using the Rest API

0 votes
Yes, there is. You can follow the example in the REST API section of this guide: https://developer.esignlive.com/guides/feature-guides/modify-status-of-a-package/ However, instead of passing DRAFT as a status, you'll put SENT
Haris Haidary OneSpan Technical Consultant

Reply to: Sending a Package using the Rest API

0 votes
Hi, You can go though the following blog that I wrote on how to create a simple web application with esignlive using Node.JS: https://www.esignlive.com/blog/esignlive-how-to-creating-a-simple-node-js-web-application/ Let me know if you have any questions.
Haris Haidary OneSpan Technical Consultant

Reply to: Sending a Package using the Rest API

0 votes
Hey Haris, Thanks, I see now how I get generate the signerUrl. But I have another issue that perhaps you can help me with. My goal is to first clone a package from an existing template, and then send that cloned package. However, the newly cloned package is created as a Draft, and I can't send it to be signed because it's a draft and not a "real transaction". Is there a way to programmatically go from Draft to live transaction (the API equivalent of hitting the "Send to Sign" button in the web UI)?

Reply to: Sending a Package using the Rest API

0 votes
Thanks Haris!

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