I have Researched Too much before i asked here , i know adobe has a fantastic api , but it could't help me in this . I am trying to make a php application whic will :
1.Fill Pdf Form with data i already have from a form in my website
2.Send it to echosign to be signed by user ( I have His email )
3.Get Status of the document (Send , Recived, Read)
I know it done With CURL , and the thing that i was able to do is to get all documents send with my account By
$ch = curl_init("https://api.na1.echosign.com:443/api/rest/v5/agreements");
$accesstoken = 'XXXXXXXXXX';
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Access-Token:'.$accesstoken
));
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$output = curl_exec($ch);
curl_close($ch);
$decoded = json_decode($output);
var_dump($decoded);
It Will Output The Agreements that i sent . Thanks In Advance !