Attestation API
Retrieve the full record for a single attestation by its identifier.
Get an attestation
GET
/attestation/{id}API keyReturns the complete attestation record.
curl https://passify.biz/api/v1/attestation/att_5m8n \
-H "Authorization: Bearer passify_live_xxx"{
"attestation_id": "att_5m8n",
"user_pubkey": "7xKXtg2...",
"schema": "kyc_accredited_v1",
"status": "verified",
"data_hash": "a1b2c3d4e5f6...",
"attester_pubkey": "Att3st...",
"onchain_tx": "3kLm...xyz",
"expires_at": "2026-12-15T00:00:00Z"
}Response fields
| Field | Description |
|---|---|
attestation_id | Stable internal identifier. |
user_pubkey | The verified wallet. |
schema | The schema the attestation was issued under. |
status | verified or expired. |
data_hash | SHA-256 of the KYC result. One-way — never reversible to PII. |
attester_pubkey | Passify's on-chain signing key. |
onchain_tx | Solana signature for the attestation write (verifiable on an explorer). |
expires_at | Expiry timestamp (UTC). |
Errors
An unknown ID returns 404:
{ "error": "not_found", "detail": "No attestation with that ID.", "request_id": "a1b2c3d4" }Last updated