Cleared API
Powerful verification and signature platform with 200+ RESTful endpoints for identity verification, background screening, and digital document signing.
Core API Features
Enterprise Security
- JWT Bearer token authentication
- TLS 1.2+ encryption for all requests
- IP whitelisting support
- Complete audit logging
- GDPR, CCPA, POPIA compliant
High Performance
- Average response time < 200ms
- 1000 requests/minute rate limit
- Webhook notifications (no polling)
- Pagination & filtering support
- 99.9% uptime SLA
Developer Friendly
- RESTful design with JSON responses
- Comprehensive documentation
- Code examples in 5+ languages
- Sandbox environment (unlimited testing)
- NPM packages & SDKs
Quick Start Guide
Register Your Organisation
Sign up at cleared.id/portal and complete organisation verification
Generate API Key
Generate your API key from the Admin Portal integrations section
Test in Sandbox
Use sandbox environment with test data to validate your integration
API Services
Identity Verification
ID document verification, biometric matching, liveness detection, tax ID validation
Address Verification
Proof of address validation, GPS verification, company address checks
Digital Signatures
Secure document signing with digital certificates and audit trails
Verification Links
Shareable verification URLs with webhook integration
Onboarding Pages
Complete application pages with verifications and document signing
Verification Requests
Create and manage verification requests sent to customers
Merchant Updates
Real-time notification system for verification events
Background Checks
Criminal records, credit history, employment verification
Code Examples
const axios = require('axios');
const response = await axios.post(
'https://cleared.id/api/v1/merchant/identity/verification/initiate',
{
name: 'John Smith',
emailAddress: 'john@example.com',
phoneNumber: '+18761234567',
trn: '123-456-789',
verificationRequests: [
{ type: 'identity', required: true },
{ type: 'address', required: true }
],
expiration: {
expiresAt: new Date(Date.now() + 48 * 60 * 60 * 1000).toISOString()
}
},
{
headers: {
'Authorization': `Bearer ${process.env.CLEARED_API_KEY}`,
'Content-Type': 'application/json'
}
}
);
console.log('Request ID:', response.data.requestId);
console.log('Result ID:', response.data.resultId);import requests
import os
api_key = os.environ.get('CLEARED_API_KEY')
report_id = 'res_abc123'
response = requests.get(
f'https://cleared.id/api/v1/merchant/identity/report/{report_id}',
headers={
'Authorization': f'Bearer {api_key}',
'Content-Type': 'application/json'
}
)
data = response.json()
if data['status'] == 'cleared':
print(f"Verified: {data['name']}")
print(f"Tax Number: {data['uniqueIdNumber']}")
print(f"Document: {data['documentType']}")
else:
print(f"Status: {data['status']}")<?php
$apiKey = getenv('CLEARED_API_KEY');
$documentId = 'doc_xyz789';
$data = [
'signingParties' => [
[
'name' => 'John Smith',
'email' => 'john@example.com',
'role' => 'Employee',
'order' => 1,
'requireIdVerification' => true
]
],
'configuration' => [
'useDigitalSignature' => true,
'enforceSigningOrder' => false,
'expiration' => [
'type' => 'relative',
'relativeDays' => 30
]
]
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://cleared.id/api/v1/merchant/signatures/documents/$documentId/send");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer $apiKey",
"Content-Type: application/json"
]);
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);
echo "Document sent. Status: " . $result['data']['status'];
?>curl -X POST https://cleared.id/api/v1/merchant/verification-links/create \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"linkTitle": "Customer Verification",
"linkId": "customer-kyc",
"verificationType": "identity",
"destination": "https://yoursite.com/verification/complete",
"clientBranding": {
"companyName": "Your Company",
"logo": "https://yoursite.com/logo.png"
},
"webhookConfig": {
"url": "https://yourapi.com/webhooks/cleared",
"secret": "your-webhook-secret"
}
}'
# Response:
{
"success": true,
"link": {
"linkId": "customer-kyc",
"url": "https://cleared.id/v/customer-kyc"
}
}Key API Capabilities
Automatic Customer Lookup
No duplicate accounts. System automatically finds existing customers by tax number, email, or phone. Creates new users only when necessary.
// System checks: Tax ID → Email → Phone → Create if not foundReal-Time Webhooks
Receive instant notifications when verifications complete. No polling needed. HMAC signature verification for security.
POST https://yourapi.com/webhooks/verificationMulti-Service Bundling
Request multiple verifications in one API call. Identity + Address + Income + Background—all initiated together.
verificationRequests: [{type: 'identity'}, {type: 'address'}]Sandbox Environment
Test with unlimited free requests. Same API structure as production. Perfect for development and QA.
Base URL: https://qa.cleared.id/api/v1/merchantFlexible Authentication
Multiple API keys per organisation. Separate keys for different environments, apps, or team members.
Authorization: Bearer YOUR_API_KEYComprehensive Error Handling
Clear error messages with codes. Detailed validation errors. Consistent response structure across all endpoints.
{"success": false, "error": "...", "code": "..."}API Environments
Sandbox (Testing)
qa.cleared.idProduction (Live)
cleared.idDocumentation Resources
API Overview
Complete overview of all 200+ endpoints, organised by service category
Authentication Guide
API key generation, JWT tokens, security best practices
Initiate Verification
Complete guide to creating verification requests via API
Identity API
ID verification, biometric matching, tax ID validation, duplicate detection
Signatures API
Documents, envelopes, templates, digital certificates
Onboarding Pages
Custom application pages with verifications and signing
Need Help with Integration?
Our technical team is here to help you integrate Cleared into your platform.
