Claims as a Service
Najeeb Claims as a Service is a comprehensive batch claims processing solution designed to enable insurance companies in the Kingdom of Saudi Arabia to submit large volumes of claims for AI-powered processing and fraud detection.
This Service enables the utilization of the AI Engine capabilities without having to store any sensitive data outside the Insurance Company Network, as all the data submitted is processed ephemerally.
Service Description
Najeeb Claims as a Service provides an asynchronous batch processing API that enables insurance companies to submit large volumes of claims in gZIP format for AI-powered analysis and fraud detection. The service processes claims batches asynchronously, with processing times ranging from minutes to multiple hours depending on the batch size, while being capable of handling hundreds of thousands of items per batch or even millions.
Key Features
- Asynchronous Batch Processing: Submit large batches of claims for processing without blocking your system
- Massive Scale: Handle hundreds of thousands to millions of claims per batch
- Ephemeral Data Processing: All data is processed temporarily and securely within your isolated Najeeb instance
- AI-Powered Analysis: Advanced fraud detection and claims validation using Najeeb's AI Engine
- Webhook Notifications: Real-time updates on processing status and results
- Initial Validation: Pre-processing validation to catch issues before AI processing begins
- KSA Compliance: Fully compliant with Saudi healthcare regulations and standards
- Scalable Architecture: Designed to handle enterprise-scale batch processing
Due to the ephemeral nature of this service, some capabilities of the full version of the AI Engine will be unavailable:
- No Patient History Checking: Claims are processed without access to historical patient data
- No Data Persistence: Data is not saved beyond the processing time required
- No Long-term Analytics: Historical trends and patterns cannot be analyzed across batches
- Batch-level Processing: Each batch is processed independently without cross-batch analysis
How It Works
- Webhook Subscription: Subscribe to webhook endpoints to receive processing updates
- Batch Submission: Submit claims batch in gZIP format via the Upload Batch API
- Initial Validation: API performs initial validation and sends webhook notification if issues are found
- Asynchronous Processing: Batch is queued for AI processing (processing time: minutes to hours)
- Progress Updates: Receive webhook notifications as processing progresses
- Results Retrieval: Retrieve processed results once processing is complete
Processing Time
Processing time varies based on batch size:
- Small Batches (< 10,000 items): Typically processed within minutes
- Medium Batches (10,000 - 100,000 items): Processing may take 30 minutes to 2 hours
- Large Batches (100,000 - 1,000,000 items): Processing may take 2-6 hours
- Very Large Batches (> 1,000,000 items): Processing may take 6+ hours
Requirements Prior to Integration
Before integrating with Najeeb Claims as a Service, ensure you have the following:
Technical Requirements
-
API Access Credentials
- Valid Client ID and Client Secret provided by Najeeb
- Access to your dedicated Najeeb instance endpoint
- Network connectivity to the Najeeb API infrastructure
-
System Capabilities
- Ability to make HTTPS REST API calls
- Support for gZIP compression
- Webhook endpoint to receive notifications
- Error handling and retry logic implementation
- Secure credential storage
- Ability to handle asynchronous processing workflows
-
Data Requirements
- Claims data in the required format
- Batch metadata (dates, description, reference ID)
- Provider information (with masked IDs for grouping and FWA detection)
- Service/item details
- Diagnosis codes (ICD-10 format)
Data Preparation
Ensure your system can provide:
- Batch Information: Start date, end date, description, batch reference ID
- Claims Data: Complete claims information with all required fields
- Service Data: Medical procedure codes, descriptions, quantities, amounts
- Diagnosis Data: ICD-10 diagnosis codes
- Encounter Data: Encounter details, dates, status information
System Architecture
The following diagram illustrates the system architecture and data flow for Najeeb Claims as a Service:

Architecture Components
-
Insurance Company Core System
- Your internal system that prepares and submits claims batches
- Handles batch compression (gZIP)
- Manages webhook endpoint for receiving notifications
- Retrieves and processes results
-
Najeeb Isolated Instance
- A dedicated, single-tenant deployment of Najeeb provisioned exclusively for your organization
- Handles authentication and authorization for your API requests
- Ensures ephemeral data processing
- Enforces rate limiting for your instance
-
Najeeb Claims Service
- Initial validation engine
- Batch queue management
- AI processing engine for fraud detection and validation
- Results generation and storage (temporary)
-
Webhook Service
- Manages webhook subscriptions
- Sends processing status updates
- Delivers validation errors and warnings
- Notifies on processing completion
Integration Guide
The Najeeb Claims as a Service integration involves three main API categories: Upload Batch API, Webhook APIs, and Results Retrieval API. All data processing is ephemeral and handled entirely within your isolated Najeeb instance.
Base URL
https://api.najeeb.ai/v1
Authentication
All API requests require OAuth 2.0 authentication. Include the access token in the Authorization header:
Authorization: Bearer YOUR_ACCESS_TOKEN
For authentication details, see the Authentication Guide.
Important Note on IDs
The IDs required by the API (such as ph_id, provider_id, member_id, claim_id, etc.) are used only to uniquely identify objects within the batch. These IDs do not need to match the actual identifiers or internal IDs used in your insurance company core system.
Example: ph_id (pharmacy/healthcare provider ID) can be generated by the consumer before sending the API request and should not match the actual ID or CCHI ID of the provider. Similarly, member_id does not need to match the actual member identifier in your system. Najeeb uses these IDs internally to:
- Group related claims within the batch
- Detect Fraud, Waste, and Abuse (FWA) patterns
- Maintain relationships between claims, providers, and patients within the batch context
You are free to use any unique identifier scheme that works for your batch processing workflow.
API Endpoints
1. Upload New Batch API
Submit a new claims batch for processing. The batch should be compressed in gZIP format.
Endpoint
POST /claims/batch/upload