From persona-pack
Upgrades Persona API versions via headers, migrates deprecated fields, and tests sandbox inquiries for identity verification integrations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/persona-pack:persona-upgrade-migrationThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
API versioning via Persona-Version header, deprecated field migration, test against sandbox.
API versioning via Persona-Version header, deprecated field migration, test against sandbox.
persona-install-auth setupimport os, requests
HEADERS = {
"Authorization": f"Bearer {os.environ['PERSONA_API_KEY']}",
"Persona-Version": "2023-01-05",
}
BASE = "https://withpersona.com/api/v1"
# Upgrade Persona API versions and handle breaking changes
resp = requests.get(f"{BASE}/inquiries?page[size]=10", headers=HEADERS)
resp.raise_for_status()
inquiries = resp.json()["data"]
for inq in inquiries:
print(f" {inq['id']}: {inq['attributes']['status']}")
| Error | Cause | Solution |
|---|---|---|
| 401 Unauthorized | Invalid API key | Check PERSONA_API_KEY |
| 429 Rate Limited | Too many requests | Implement backoff |
| 404 Not Found | Wrong resource ID | Verify ID format |
See related Persona skills for more workflows.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin persona-packOptimizes Persona API performance for identity verification with batching, caching, and parallel polling using Python requests.
Migrate Instantly.ai API v1 integrations to v2: update Bearer token auth, REST endpoints, paths, methods, request formats, and pagination.
Guides Documenso API v1 to v2 upgrades and TypeScript/Python SDK migrations with code examples and bash commands.