Retrieve signature audit trail
curl --request GET \
--url https://app.myhero.so/signature/{documentId}/audit \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.myhero.so/signature/{documentId}/audit"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.myhero.so/signature/{documentId}/audit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.myhero.so/signature/{documentId}/audit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.myhero.so/signature/{documentId}/audit"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.myhero.so/signature/{documentId}/audit")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.myhero.so/signature/{documentId}/audit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"_id": "<string>",
"documentId": "<string>",
"nodeId": "<string>",
"signer": {
"userId": "<string>",
"email": "<string>",
"displayName": "<string>",
"authProvider": "<string>"
},
"signatory": {
"name": "<string>",
"company": "<string>",
"title": "<string>"
},
"terms": "<string>",
"termsHash": "<string>",
"ipAddress": "<string>",
"userAgent": "<string>",
"signedAt": 123,
"hashAlgorithm": "sha256",
"contentHash": "<string>",
"documentHash": "<string>",
"previousAuditId": "<string>",
"chainHash": "<string>",
"clientReportedAt": 123,
"resolvedContentHash": "<string>",
"valuesHash": "<string>",
"valuesChanged": true,
"valuesCompletedLater": true,
"voidedAt": 123,
"voidedBy": "<string>",
"restoredAt": 123
}
]
}{
"error": "<string>",
"message": "<string>",
"details": [
"<unknown>"
]
}Signatures
Retrieve signature audit trail
Returns every signature audit record for a document, oldest first, including those superseded by a later version.
Each record carries the signer’s identity, the IP address and user agent captured at signing, the server-clock timestamp, and the content hashes used to verify the document has not changed since.
Records that hashed the document’s variable values also report valuesChanged: whether those values, as resolved now, differ from when it was signed — and valuesCompletedLater when the only difference is details other recipients of the same signature request filled in afterwards.
Records are never removed.
Requires read access to the document.
GET
/
signature
/
{documentId}
/
audit
Retrieve signature audit trail
curl --request GET \
--url https://app.myhero.so/signature/{documentId}/audit \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.myhero.so/signature/{documentId}/audit"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.myhero.so/signature/{documentId}/audit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.myhero.so/signature/{documentId}/audit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.myhero.so/signature/{documentId}/audit"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.myhero.so/signature/{documentId}/audit")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.myhero.so/signature/{documentId}/audit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"_id": "<string>",
"documentId": "<string>",
"nodeId": "<string>",
"signer": {
"userId": "<string>",
"email": "<string>",
"displayName": "<string>",
"authProvider": "<string>"
},
"signatory": {
"name": "<string>",
"company": "<string>",
"title": "<string>"
},
"terms": "<string>",
"termsHash": "<string>",
"ipAddress": "<string>",
"userAgent": "<string>",
"signedAt": 123,
"hashAlgorithm": "sha256",
"contentHash": "<string>",
"documentHash": "<string>",
"previousAuditId": "<string>",
"chainHash": "<string>",
"clientReportedAt": 123,
"resolvedContentHash": "<string>",
"valuesHash": "<string>",
"valuesChanged": true,
"valuesCompletedLater": true,
"voidedAt": 123,
"voidedBy": "<string>",
"restoredAt": 123
}
]
}{
"error": "<string>",
"message": "<string>",
"details": [
"<unknown>"
]
}