/v1/verifier/dc_sessions/{id}/render
API Key
Render verified claims as visual credential
Render verified claims from a completed session as an SVG, PDF, or HTML credential card.
This endpoint provides a visual representation of the verified credential, suitable
for display in admin interfaces or user-facing confirmation screens.
Requires Secret Key authentication from the same account that created the session.
The session must be completed with verified claims.
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
id
*
|
path | string | Session UUID |
format
|
query | string | Output format (svg, pdf, html). Defaults to svg.: * `svg` * `pdf` * `html` |
X-API-Key
*
|
header | string | Secret API key for authentication |
* Required parameter
Response
Code Examples
import os
from aho_sdk import AhoSdk
client = AhoSdk.verifier(api_key=os.environ["AHO_API_KEY"])
result = client.render.list(
id="example_id"
)
client = AhoSdk.verifier(api_key: ENV["AHO_API_KEY"])
result = client.render.list(
id: "example_id"
)
import { AhoSdk } from '@aho/sdk';
const client = AhoSdk.verifier({ apiKey: process.env.AHO_API_KEY });
const result = await client.render.list({
id: "example_id"
});
curl -X GET 'https://api.aho.com/v1/verifier/dc_sessions/example_id/render' \
-H 'X-API-Key: $AHO_API_KEY'
Try It
Log in to test this endpoint directly from the documentation.
Log in