When to use bulk vs. the flow API
| Scenario | Recommended API |
|---|---|
| Real-time per-application verification with cross-checks | Flow API |
| High-volume async processing, no per-application tracking needed | Bulk API — this guide |
| Callback-driven results delivery | Flow API |
| Paginated batch retrieval at your own pace | Bulk API |
Generate a token
Authenticate with your ResponsePass the
Client-Id and Client-Secret headers.access_token as the Token header in all subsequent requests.Upload a batch
Submit a Response — one entry per uploaded file, all sharing the same Atlas automatically detects the document type from the image content. You do not need to declare the type per file — the extracted
product_type and an array of file URLs. Each file entry must include a file_url (a pre-signed S3 URL pointing to the document image) and a document_id you define for tracking purposes.batch_idSave the
batch_id (e.g. BATCH-30732-SIYKJ-20251121113228). You will need it to retrieve extraction results. The document_id in each entry matches the value you supplied in the request, letting you map results back to your internal records.document_type field in the response will tell you what Atlas identified.Retrieve extraction results
Fetch processed data for all documents in a batch. Results are paginated.Query parameters
ResponsePagination fields
Iterate through pages by incrementing the
| Parameter | Default | Description |
|---|---|---|
batch_id | — | Required. The batch ID returned from the upload step |
page | 1 | Page number (1-indexed) |
per_page | 50 | Number of records per page |
| Field | Description |
|---|---|
page | Current page number |
per_page | Records returned on this page |
total_pages | Total number of pages available |
has_next | true if there is a subsequent page |
has_prev | true if there is a previous page |
page parameter until has_next is false.Document type auto-detection
You do not need to specify the document type when uploading. Atlas infers the type from the image content and setsdocument_type in the response accordingly. Supported types include PAN, AADHAAR, BANK_STATEMENT, GST_CERT, INVOICE, DELIVERY_ORDER, DRIVING_LICENSE, VOTER_ID, SHOP_ACT_LICENSE, SALE_DEED, and many others.