| name | persona-core-workflow-b |
| description | Work with Persona verification types: government ID, selfie, database checks.
Use when implementing specific verification checks, reviewing verification results,
or building custom verification workflows.
Trigger with phrases like "persona verification", "government ID check",
"selfie verification", "persona database check", "verification results".
|
| allowed-tools | Read, Write, Edit, Bash(curl:*), Grep |
| version | 1.4.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","persona","verification","government-id","selfie","kyc"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Persona Core Workflow B — Verification Checks
Overview
Work with Persona's verification types: government ID (passport, driver's license), selfie liveness detection, and database checks (SSN, watchlist). Covers retrieving verification details, interpreting check results, and handling edge cases.
Prerequisites
- Completed
persona-core-workflow-a (inquiry flow)
- Inquiry Template with verification checks configured
Instructions
Step 1: List Verifications for an Inquiry
import os, requests
HEADERS = {
"Authorization": f"Bearer {os.environ['PERSONA_API_KEY']}",
"Persona-Version": "2023-01-05",
}
BASE = "https://withpersona.com/api/v1"
resp = requests.get(f"{BASE}/inquiries/inq_XXXXX", headers=HEADERS)
resp.raise_for_status()
inquiry = resp.json()["data"]
verifications = inquiry["relationships"]["verifications"]["data"]
for v in verifications:
v_resp = requests.get(f"{BASE}/verifications/{v['id']}", headers=HEADERS)
v_data = v_resp.json()["data"]["attributes"]
print(f" Type: {v['type']}")
print(f" Status: {v_data['status']}")
print(f" Checks: {v_data.get('checks', [])}")
Step 2: Government ID Verification Results