Sync KYC Validation
Session-based validation
Sync KYC Validation
Manually synchronize KYC validation data with the provider β in the gu1 KYC API for identity verification flows, with examples for sync validation use cases.
POST
Sync KYC Validation
Overview
This endpoint allows you to manually synchronize a KYC validation with the verification provider to get the latest status and decision data. When you sync:- Fetches latest data from the KYC provider in real-time
- Refreshes expired image URLs (provider URLs expire after ~4 hours)
- Updates validation status if the provider has made a decision
- Preserves manual decisions - wonβt overwrite manually approved/rejected/cancelled validations
- Returns updated verification data including documents, biometrics, and risk assessment
Syncing is useful when you need fresh data immediately without waiting for webhooks, or when image URLs have expired and you need to view verification documents.
When to Use This
- Check latest status: Get real-time status updates from the provider
- Refresh expired images: Image URLs from the provider expire after 4 hours
- Force update: Manually trigger a sync if webhook delivery failed
- Debug verification: Review the most recent verification data and decisions
- Before manual decision: Sync before approving/rejecting to see latest provider data
Request
Endpoint
Path Parameters
The validation ID to synchronize
Headers
Body Parameters
Force synchronization even if recently synced (optional)Type:
boolean (default: false)Example: trueResponse
Success Response (200 OK)
Returns the updated validation object with latest data from the provider:Example Request
Error Responses
Validation Not Found (404)
No Session ID (400)
Validation has no provider session to sync:Provider Integration Not Configured (400)
Important Notes
Automatic Sync
Automatic Sync
Validations are automatically synced when fetched via GET if images are older than 3.5 hours. Manual sync is useful when you need immediate updates.
Manual Decisions Are Protected
Manual Decisions Are Protected
If a validation was manually approved, rejected, or cancelled, syncing will NOT overwrite that decision. Manual decisions are preserved to maintain audit trails.
Image URL Refresh
Image URL Refresh
Provider image URLs (document photos, selfies) expire after ~4 hours. Syncing fetches fresh URLs so you can view documents again.
Status Updates
Status Updates
If the provider has made a decision since the last sync, the validation status will be updated automatically (unless it has a manual status).
Credit Charging
Credit Charging
Syncing does NOT charge credits. Credits are only charged when a validation reaches a final state (approved/rejected) for the first time.
Use Cases
1. Refresh Expired Images
2. Check Status Before Manual Decision
3. Force Update After Webhook Failure
Next Steps
Approve Validation
Manually approve a validation
Reject Validation
Manually reject a validation
Check Verification Status
Query validation results
Cancel Validation
Cancel a pending validation