Api issue with trial account

  • 1
  • Problem
  • Updated 4 months ago
Hi there,

I m having RightSignature trial account because first i want to see how it works and is it worth it or not with my project...But when i open a trial account i m not having api access or am i on wrong way?

Please guide

Photo of Tushar M

Tushar M

  • 7 Posts
  • 0 Reply Likes

Posted 4 months ago

  • 1
Photo of Saravanan Kannan

Saravanan Kannan, Employee

  • 39 Posts
  • 6 Reply Likes
Hi Tushar,

We don't provide api access for trial accounts. If you want to try our api, you can reach sales at 1-800-921-4250 or https://rightsignature.com/contact-us, they should be able to create api trial plan for you.

Thanks
Saravanan
Photo of Tushar M

Tushar M

  • 7 Posts
  • 0 Reply Likes
Hi there,

Now i am having an account with email :: jason.saul@shedsdirectinc.com and it also having api access.

But now problem is that how to start to integrate it with my application that i can not understand with poor documentation.

I have also tried some how to manage its request with "GET /public/v1/me". But every time it gives me "invalid token error" so i cant understand where is the issue.

If possible please guide me step by step in integration process of this api and if you can create one example for the same then it will be very much helpful.

Looking for your kind help ASAP

Thanks


Photo of Tushar M

Tushar M

  • 7 Posts
  • 0 Reply Likes
Any update?

Photo of Justin Felix

Justin Felix

  • 4 Posts
  • 0 Reply Likes
Try with this,


<?php

$curl = curl_init();

$token = base64_encode('Your Private Token');

curl_setopt_array($curl, array(
   CURLOPT_URL =>"https://api.rightsignature.com/public/v1/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING =>"",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST =>"GET",
CURLOPT_HTTPHEADER => array(
    "authorization: Basic ".$token,
    "cache-control: no-cache",
),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
   echo "cURL Error #:" . $err;
} else {
   echo $response;
}

?>