persona-debug-bundle

Collect Persona diagnostic info: inquiry IDs, API responses, webhook logs. Use when working with Persona identity verification. Trigger with phrases like "persona debug-bundle", "persona debug-bundle".

Allowed Tools

ReadBash(grep:*)Bash(curl:*)Bash(tar:*)Grep

Provided by Plugin

persona-pack

Claude Code skill pack for Persona (18 skills)

saas packs v1.4.0
View Plugin

Installation

This skill is included in the persona-pack plugin:

/plugin install persona-pack@claude-code-plugins-plus

Click to copy

Instructions

persona debug bundle | sed 's/\b\(.\)/\u\1/g'

Overview

Gather inquiry state, verification results, webhook delivery logs, API connectivity test.

Prerequisites

  • Completed persona-install-auth setup
  • Valid Persona API key (sandbox or production)

Instructions

Step 1: Implementation


import os, requests

HEADERS = {
    "Authorization": f"Bearer {os.environ['PERSONA_API_KEY']}",
    "Persona-Version": "2023-01-05",
}
BASE = "https://withpersona.com/api/v1"

# Collect Persona diagnostic info: inquiry IDs, API responses, webhook logs
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']}")

Output

  • Gather inquiry state, verification results, webhook delivery logs, API connectivity test.

Error Handling

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

Resources

Next Steps

See related Persona skills for more workflows.

Ready to use persona-pack?