Get Started with Qawaid
From zero to your first validation in under 5 minutes. Follow this quick start guide to integrate Qawaid into your application.
Quick Start
Validate your first transaction in 5 minutes
Sign Up & Get Your API Key
Create your free account and copy your API key from the Settings page.
# Your API key is available at:
# app.qawaid.ai → Settings → API Configuration
API_KEY="qw_live_your_api_key_here"
TENANT="your-org"Create Your First Rule
Navigate to Rules → New Rule and create a simple validation rule, or use the API:
curl -X POST https://api.qawaid.ai/api/v1/rules \
-H "Authorization: Bearer $API_KEY" \
-H "X-Tenant-Slug: $TENANT" \
-H "Content-Type: application/json" \
-d '{
"ruleId": "MIN-ORDER-001",
"name": "Minimum Order Amount",
"category": "Eligibility",
"severity": "Error",
"engineType": "Simple",
"expression": {
"fieldPath": "order.total",
"operator": "GreaterThanOrEquals",
"comparisonValue": "50"
},
"errorMessages": [{
"locale": "en",
"message": "Order must be at least $50",
"errorCode": "MIN_ORDER"
}]
}'Validate Data Against Your Rule
Send a validation request to test your rule:
curl -X POST https://api.qawaid.ai/api/v1/validations/order \
-H "Authorization: Bearer $API_KEY" \
-H "X-Tenant-Slug: $TENANT" \
-H "Content-Type: application/json" \
-d '{"order": {"total": 25, "currency": "USD"}}'See the Result
The API returns a structured validation response:
{
"isValid": false,
"totalRulesEvaluated": 1,
"failures": [
{
"ruleCode": "MIN-ORDER-001",
"ruleName": "Minimum Order Amount",
"severity": "Error",
"message": "Order must be at least $50",
"errorCode": "MIN_ORDER",
"fieldPath": "order.total",
"actualValue": 25,
"expectedValue": 50,
"explanation": {
"reason": "Value 25 is less than threshold 50",
"suggestion": "Increase order total to at least $50"
}
}
]
}.NET SDK
Integrate with your .NET application
REST Client
Use the REST client for standard integrations. Supports async/await, automatic retries, and response caching.
// Install the .NET SDK
dotnet add package Qawaid.Sdk
// Quick Start
using Qawaid.Sdk;
var client = new QawaidClient(new QawaidOptions
{
BaseUrl = "https://api.qawaid.ai",
ApiKey = "qw_live_your_api_key_here",
TenantSlug = "your-org"
});
// Validate data
var result = await client.Validation.ValidateAsync(
"loan-application",
new {
applicant = new { age = 25, income = 75000 },
loan = new { amount = 250000, term = 30 }
});
if (!result.IsValid)
{
foreach (var failure in result.Failures)
Console.WriteLine($"[{failure.Severity}] {failure.Message}");
}gRPC Client (High Performance)
For high-throughput scenarios (10K+ evaluations/sec), use the gRPC client for up to 3x faster responses.
// For high-performance scenarios, use gRPC
dotnet add package Qawaid.Sdk.Grpc
var grpcClient = new QawaidGrpcClient(new GrpcOptions
{
Endpoint = "https://grpc.qawaid.ai:5001",
ApiKey = "qw_live_your_api_key_here"
});
var result = await grpcClient.ValidateAsync(new ValidationRequest
{
Context = "loan-application",
Payload = JsonSerializer.Serialize(loanData)
});Guides
Deep-dive into specific features and integrations
Creating Rules
Learn how to create and manage validation rules using the visual builder or API.
Decision Tables
Build complex business logic with DMN-style decision tables.
Authentication & Security
Configure API keys, OIDC integration, and role-based access control.
Multi-Tenant Setup
Configure tenant isolation, custom domains, and data partitioning.
Industry Packs
Install pre-built rule packs for Banking (AML/KYC) and Healthcare (HIPAA).
API Reference
Complete REST and gRPC API documentation with request/response examples.
Need Help?
Our team is here to help you get the most out of Qawaid. Reach out via support or join our community.