cURL
curl --request GET \ --url https://api.theary.ai/background-check/v1/batches \ --header 'Authorization: Bearer <token>'
{ "data": [ {} ], "pagination": { "page": 123, "limit": 123, "total": 123, "totalPages": 123 } }
List background check batches for authenticated tenants
Show Pagination Properties
curl -X GET "https://api.theary.ai/background-check/v1/batches?page=1&limit=20" \ -H "Authorization: Bearer YOUR_JWT_TOKEN" \ -H "Content-Type: application/json"
{ "data": [ { "id": "550e8400-e29b-41d4-a716-446655440000", "status": "completed", "orderCount": 25, "createdAt": "2024-01-15T10:30:00Z", "updatedAt": "2024-01-16T14:45:00Z", "createdBy": "user_123", "entityName": "Apple Inc." }, { "id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", "status": "in_progress", "orderCount": 15, "createdAt": "2024-01-14T09:15:00Z", "updatedAt": "2024-01-15T16:20:00Z", "createdBy": "user_456", "entityName": "Google LLC" } ], "pagination": { "page": 1, "limit": 20, "total": 50, "totalPages": 3 } }