We have a use case where we need to verify multiple credentials in a single API call. Would love to see this supported!
## Use Case
We're building an employee onboarding system that needs to verify:
- Identity credential
- Employment authorization
- Background check credential
- Professional license
Currently we have to create 4 separate verification sessions.
## Proposed API
```typescript
const batchSession = await credlyr.verifications.createBatch({
verifications: [
{ policyId: 'pol_identity' },
{ policyId: 'pol_employment_auth' },
{ policyId: 'pol_background_check' },
{ policyId: 'pol_professional_license' }
],
// Single callback when all complete
redirectUrl: '/onboarding/complete'
});
```
## Benefits
- Better UX - user completes all verifications in one flow
- Simpler integration - one webhook callback
- Atomic success/failure
## Questions
1. How should partial completion be handled?
2. Should there be dependencies (e.g., identity must pass before others)?
Would others find this useful?