Skip to main content
POST
Batch Jobs
Create and manage batch KYC validation jobs for processing multiple entities efficiently. Batch jobs allow you to submit large numbers of entities for validation and track their progress asynchronously.

Endpoints

Authentication

Requires kyc:create permission for creating jobs and kyc:read permission for retrieving job status. Include your Bearer token in the Authorization header.

Create Batch Job

Submit multiple entities for KYC validation in a single batch job.

Endpoint

Request Body Parameters

Request Example

Response Format

Response Fields

Get Job Status

Retrieve the status and results of a batch job.

Endpoint

Path Parameters

Request Example

Response Format - Processing

Response Format - Completed

Response Fields

Entity Result Object

Error Responses

400 Bad Request - Invalid Entities

400 Bad Request - Too Many Entities

404 Not Found - Job Not Found

Status Codes

Usage Examples

Python Example

JavaScript Example

Best Practices

  • Batch Size: Keep batches between 100-1,000 entities for optimal performance
  • Entity IDs: Always provide entity_id to track individual entities in results
  • Polling: Poll job status every 5-10 seconds (don’t poll too frequently)
  • Error Handling: Handle failed entities appropriately
  • Rate Limits: Be aware of API rate limits when creating multiple jobs

Performance

  • Processing Time: Approximately 1-2 seconds per entity
  • Maximum Entities: 10,000 entities per job
  • Chunking: Large batches are automatically chunked for processing
  • Concurrent Processing: Entities are processed in parallel for faster completion

Job Statuses

Integration Tips

  1. Async Processing: Batch jobs are processed asynchronously - don’t wait for completion
  2. Status Polling: Implement exponential backoff for status polling
  3. Result Storage: Store job results for audit and compliance purposes
  4. Error Recovery: Implement retry logic for failed entities