curl --request GET \
--url https://api.example.com/credential/{credentialId}/eventsimport requests
url = "https://api.example.com/credential/{credentialId}/events"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/credential/{credentialId}/events', 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://api.example.com/credential/{credentialId}/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.example.com/credential/{credentialId}/events"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/credential/{credentialId}/events")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/credential/{credentialId}/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"credentialUrn": "<string>",
"ok": true,
"eventCount": 123,
"events": [
{
"urn": "urn:via:event:550e8400-e29b-41d4-a716-446655440000",
"event": "ISSUE",
"actor": "<string>",
"issuer": "<string>",
"validFrom": "2026-05-02T10:15:30.000Z",
"contentBound": true,
"signatureValid": true,
"chainLinkValid": true
}
],
"reason": "<string>"
}{
"statusCode": 400,
"message": "Invalid urn",
"error": "Bad Request"
}{
"statusCode": 404,
"message": "Credential not found",
"error": "Not Found"
}Audit Credential Event Chain
Walk a v0.2 credential’s VIAEvent chain and re-verify every event, returning a tamper-evidence report.
For each event it reports whether its signature verifies (against the signer’s own key) and whether its previousEvent chain link is intact; ok is true only when the whole chain walks and every event verifies.
Audit-side only — this does not affect verification. A legacy (pre-0.2) credential has no event chain and returns an empty list.
curl --request GET \
--url https://api.example.com/credential/{credentialId}/eventsimport requests
url = "https://api.example.com/credential/{credentialId}/events"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/credential/{credentialId}/events', 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://api.example.com/credential/{credentialId}/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.example.com/credential/{credentialId}/events"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/credential/{credentialId}/events")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/credential/{credentialId}/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"credentialUrn": "<string>",
"ok": true,
"eventCount": 123,
"events": [
{
"urn": "urn:via:event:550e8400-e29b-41d4-a716-446655440000",
"event": "ISSUE",
"actor": "<string>",
"issuer": "<string>",
"validFrom": "2026-05-02T10:15:30.000Z",
"contentBound": true,
"signatureValid": true,
"chainLinkValid": true
}
],
"reason": "<string>"
}{
"statusCode": 400,
"message": "Invalid urn",
"error": "Bad Request"
}{
"statusCode": 404,
"message": "Credential not found",
"error": "Not Found"
}Headers
Pin request, response, and webhook shapes to a specific dated API version (YYYY-MM-DD). Omit to use the version pinned to your API key (set when the key is created; new keys default to the latest version). New integrations should target the latest version.
^\d{4}-\d{2}-\d{2}$"2026-09-01"
Path Parameters
URN of the credential whose event chain to audit
"urn:via:credential:550e8400-e29b-41d4-a716-446655440000"
Response
The credential’s event chain with per-event integrity + signature results.
URN of the audited credential.
The chain is intact AND every event verified (signature + link). False if anything failed.
Number of events in the chain.
Per-event audit, in chain order.
Show child attributes
Show child attributes
Present when not ok — the walkEventChain reason, or a signature/link failure marker.