Signer authentication
Tuesday, November 22, 2022 at 09:24amHi OSS Community Team,
For signer person ui we use OneSpan signing URL (https://sandbox.esignlive.com/authentication?target=https://sandbox.esignlive.com/transaction/{:transactionId}/sign&loginToken=******) to get data, in this case we get HTML page.
Is there some way to get in response JSON instead of HTML?
Reply to: Signer authentication
Tuesday, November 22, 2022 at 09:49amHi Mark,
Thanks for your post! May I know the reason why you want to get the package JSON? Are you implementing an integration, or this is to check whether the package has been probably built with signer authentication method?
Duo
Reply to: Signer authentication
Wednesday, November 23, 2022 at 12:37amYes we planning to implement an integration, and now trying to investigate if it's possible.
Reply to: Signer authentication
Wednesday, November 23, 2022 at 07:35amHi Mark,
If that's the case, you can start with the Quick Start Guide on how to create and send a transaction.
And to answer your question directly, the API to retrieve transaction JSON is:
GET /api/packages/{packageId}
Note that you need either API Key or Token to authenticate this API.
Duo
Reply to: Signer authentication
Wednesday, November 23, 2022 at 09:15amThanks for answer and sorry Duo, maybe you don't got what I meant in question, will try to describe:
We already made transaction and build URL for signer person, so in this case we build URL like this
https://sandbox.esignlive.com/authentication?target=https://sandbox.esignlive.com/transaction/{:transactionId}/sign&loginToken=******
to login signer person, and in response we got HTML page ("signing web app") as expected.
And again my question: When we login signer person can we some how get JSON (with all needed data for login signer person) instead HTML?
As example (maybe not correct) we do GET request to this url:
(https://sandbox.esignlive.com/authentication?target=https://sandbox.esignlive.com/transaction/{:transactionId}/sign&loginToken=******)
we get HTML page, so maybe we can provide some queries to get JSON instead?
Reply to: Signer authentication
Wednesday, November 23, 2022 at 09:51amHi Mark,
Are you embedding the signing ceremony in an iFrame and what exact data you want to get? Any chance you had tried below API to get package JSON?
https://sandbox.esignlive.com/api/packages/{:transactionId}
Could you elaborate a little bit on what use case you are trying to implement?
Duo