PII Vault
Authentication & scopes
Authorization: Bearer treza_live_...
x-treza-account: <your account identifier>Scope
Grants
Ingest a record
curl -X POST https://trezalabs.com/api/pii/ingest \
-H "Authorization: Bearer $TREZA_API_KEY" \
-H "x-treza-account: $TREZA_ACCOUNT" \
-H "Content-Type: application/json" \
-d '{
"type": "passport",
"payload": { "number": "X1234567", "country": "US" },
"consentGiven": true,
"metadata": { "source": "onboarding" }
}'Field
Type
Notes
List records
Retrieve a record (consent-gated)
Error
Meaning
Consent management
Delete a record (right to erasure)
Audit log
Query param
Description
Last updated