Attestation API

Retrieve the full record for a single attestation by its identifier.

Get an attestation

GET/attestation/{id}API key

Returns the complete attestation record.

bash
curl https://passify.biz/api/v1/attestation/att_5m8n \
  -H "Authorization: Bearer passify_live_xxx"
200 OK
{
  "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

FieldDescription
attestation_idStable internal identifier.
user_pubkeyThe verified wallet.
schemaThe schema the attestation was issued under.
statusverified or expired.
data_hashSHA-256 of the KYC result. One-way — never reversible to PII.
attester_pubkeyPassify's on-chain signing key.
onchain_txSolana signature for the attestation write (verifiable on an explorer).
expires_atExpiry timestamp (UTC).

Errors

An unknown ID returns 404:

404 Not Found
{ "error": "not_found", "detail": "No attestation with that ID.", "request_id": "a1b2c3d4" }

Last updated