sudhangi

Api Key of the sender

0 votes
HI, Is it possible to get the api key of the sender who sent the package. Thank you, Sudhangi

Approved Answer

Reply to: Api Key of the sender

0 votes
Essentially, the SDKs take away a lot of the work you'll need to do compared to going through REST. Work such as building the json payload, httpclient, defining the headers, etc.. It is very powerful and easy way to get started with eSignLive. However, through REST, you have a lot more flexibility. Anything you can do with the SDKs you can do in REST. However, the reverse is not true (e.g. getting sender api key). You can have a look at our feature guides and documentationfor a list of all the calls available through the SDKs and REST.
Haris Haidary OneSpan Technical Consultant

Reply to: Api Key of the sender

0 votes
Hi Harris, Let me try that. I will get back to you. Thanks a bunch, Sudhangi

Reply to: Api Key of the sender

0 votes
Hi Harris, I see that the only way to get api key for a sender is through eSL API. on another note is there any information that you can share with me about the difference between eSL Java SDK features/functions and eSL API features/functions. Thans, Sudhangi

Reply to: Api Key of the sender

0 votes
Hi Harris, The URL mentioned in the documentation is https://sandbox.esignlive.com/api/ For FedRAmp instance we use the URL https://signer-sandbox-gov.esignlive.com/api So to retrieve the senders for FedRamp sandbox will the url be : https://signer-sandbox-gov.esignlive.com/api/account/senders?from=0&to=100" ? Thanks, Sudhangi

Reply to: Api Key of the sender

0 votes
Yes, that is correct.
Haris Haidary OneSpan Technical Consultant

Reply to: Api Key of the sender

0 votes
Ok so I was successfully able to retrieve the senders using "https://signer-sandbox-gov.esignlive.com/api/account/senders?from=0&to=100" But when I try to retrieve the api key for a specific sender (eg: "https://signer-sandbox-gov.esignlive.com/api/account/senders/{senderId}/apiKey") it give me a 404 response. Any idea what would be the problem here ? Sample Code snippet looks like this(Using JAX-RS Client): Client client2 = ClientBuilder.newClient(); WebTarget ret2 =client2.target("https://signer-sandbox-gov.esignlive.com/api/account/senders/xxxxx/apiKey"); client2.configuration Response response2 = ret2.request(MediaType.APPLICATION_JSON).header(HttpHeaders.AUTHORIZATION, "Basic " + "xxxxxxxxxxx==").get(); System.out.println("response2:" + response2.toString());

Reply to: Api Key of the sender

0 votes
Make sure you have the correct sender id as a 404 error means that the resource is not found (i.e. target url not valid or in this case most likely the sender id is wrong).
Haris Haidary OneSpan Technical Consultant

Reply to: Api Key of the sender

0 votes
Yeah you are right. The id value was incorrect. Thanks a bunch -Sudhangi

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