Karthik

Using Authentication Token with REST API

0 votes
Hi, We are trying to use the REST API for creating packages, documents etc and currently we are using the API key in the request header to send the requests. However, we are not sure if we need to use the Authentication Token while sending the requests or use the API key in the request header. We got the Authentication Token as per the documentation in the below link: http://docs.e-signlive.com/doku.php?id=esl:api:e-signlive_session_creation#post_authenticationtokens However, we are not sure how to use this token in the requests we send. Request you to kindly let us know the way to use the Authentication Token while sending the requests using REST API. Please let me know if you need any further information on this. Thanks, Karthik

Approved Answer

Reply to: Using Authentication Token with REST API

0 votes
Hey Karthik, You don't need to create an authentication token when you send requests to eSignLive with the REST API. All you need to do is have the appropriate headers such as authorization, accept, and content-type as per our documentation. Have a look at this blog on how to create and send a package with the REST API: https://www.esignlive.com/blog/e-signlive-for-new-users-how-to-create-and-send-your-first-package-rest-api/ The code is in C#, but it should give you a pretty good idea on the headers you need to make requests to eSignLive with the REST API. Let me know if you need further assistance :)
Haris Haidary OneSpan Technical Consultant

Reply to: Using Authentication Token with REST API

0 votes
Awesome! Thanks a lot for the quick response, Haris. :)

Reply to: Using Authentication Token with REST API

0 votes
My pleasure :)
Haris Haidary OneSpan Technical Consultant

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