Developer Documentation
Integrate our powerful SaaS APIs into your applications with just a few lines of code.
AI Chat
Our flagship LLM service for lightning-fast conversational processing.
REQUEST BODY (RAW JSON)
{
"api_key": "YOUR_LICENSE_KEY",
"question": "What is AI?"
}
RESPONSE
{
"answer": "AI stands for...",
"credits_used": 1
}
| Field | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | Your unique license key from dashboard. |
| question | string | Yes | The query text you want the AI to answer. |
Vision Multi-modal AI
High-accuracy image analysis and OCR (Optical Character Recognition).
CURL EXAMPLE (FORM-DATA)
curl -X POST -F "api_key=your_key" -F "image=@file.jpg" -F "prompt=Describe this"
RESPONSE
{
"status": "success",
"analysis": "The image shows a person...",
"credits_used": 1
}
| Field | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | Your unique license key. |
| image | file | Yes | Image file (JPG/PNG). |
| prompt | string | No | Specific instructions for the analysis. |
SMS Gateway
Send institutional messages globally through our dedicated routes.
REQUEST PAYLOAD
{
"api_key": "YOUR_KEY",
"phone": "639123456789",
"message": "Hello from Innovatech!"
}
RESPONSE
{
"success": true,
"message": "SMS sent successfully",
"credits_used": 1
}
Face Training (Biometric)
Register a new face into the system by providing multiple reference images. This creates a unique biometric profile for subsequent recognition.
CURL EXAMPLE
curl -X POST -F "api_key=key" -F "user_id=John" -F "images[]=@1.jpg" ...
RESPONSE
{
"success": true,
"message": "Individual trained",
"credits_used": 1
}
Face Matching (Biometric)
Compare two faces to verify identity with 99.4% accuracy.
CURL EXAMPLE
curl -X POST -F "api_key=your_key" -F "images[]=@face.jpg"
RESPONSE
{
"status": "success",
"predictions": [
["John_Doe", [142, 350, 421, 230]]
],
"credits_used": 1
}
| Field | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | Your unique license key. |
| images[] | file(s) | Yes | Image(s) to be analyzed for known faces. |
| images_base64[] | strings | No | Optional list of base64 strings instead of files. |
InnovaTech Secure Biometrics (Fingerprint/FaceID)
Implement passwordless authentication using our proprietary security handshake. This process involves two phases: storing a secure credential reference and performing a server-side audit during login.
Phase 1: Registration
Run this code when the user first enables biometrics in your app. Our engine generates a unique credential.id which you must store in your database.
async function registerBiometric(username) {
const credential = await navigator.credentials.create({
publicKey: {
challenge: crypto.getRandomValues(new Uint8Array(32)),
rp: { name: "Your App Name", id: window.location.hostname },
user: {
id: Uint8Array.from(username, c => c.charCodeAt(0)),
name: username,
displayName: username
},
pubKeyCredParams: [{ alg: -7, type: "public-key" }],
authenticatorSelection: { authenticatorAttachment: "platform" },
timeout: 60000
}
});
// Save this ID to your DB mapped to the user
console.log("Save this to your DB:", credential.id);
}
Phase 2: Secure Handshake
When the user logs in, trigger the prompt. CRITICAL: You must call our API to receive a verify_token. This token proves to your backend that the biometric event was authentic.
async function loginWithBiometric(storedId) {
const credential = await navigator.credentials.get({
publicKey: {
challenge: crypto.getRandomValues(new Uint8Array(32)),
allowCredentials: [{
id: Uint8Array.from(atob(storedId), c => c.charCodeAt(0)),
type: 'public-key'
}],
userVerification: "required"
}
});
if (credential) {
// 1. Device Match Passed!
// 2. Perform Security Handshake with InnovaTech
const response = await fetch('https://innovatechservicesph.com/management/microservices.php?service=biometric-verify&key=YOUR_API_KEY');
const data = await response.json();
if (data.success && data.verify_token) {
// 3. ONLY NOW allow login
console.log("Verified. Credits Used:", data.credits_used);
// Grant access
}
}
}
PDF Validation & Analysis
Analyze formal PDF documents for signatures, text consistency, and formal elements.
INTEGRATION (CURL)
curl -X POST -F "api_key=your_key" -F "pdf=@document.pdf" -F "with_ai=true"
STANDARD RESPONSE
{
"valid_pdf": true,
"page_count": 2,
"has_text": true,
"has_signature": true,
"formal_elements": {
"has_title": true,
"has_date": true,
"has_signature_field": true
},
"language": "en",
"message": "PDF is a valid formal document",
"credits_used": 1
}
AI-ENHANCED RESPONSE (with_ai=true)
{
"valid_pdf": true,
"page_count": 2,
"has_text": true,
"has_signature": true,
"formal_elements": {
"has_title": true,
"has_date": true,
"has_signature_field": true
},
"language": "en",
"ai_analysis": "This document appears to be a formal contract between...",
"ai_option": true,
"font_consistent": true,
"metadata": { "producer": "Adobe PDF..." },
"credits_used": 25,
"message": "AI analysis completed"
}
| Field | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | Your unique license key. |
| file | Yes | The PDF document to analyze. | |
| with_ai | boolean | No | Set to true for deep InnovaTech AI analysis. |
Captcha System
Secure your login forms with our Intelligent Captcha. This service uses script injection to provide a seamless verification experience with zero manual backend validation required.
HTML INTEGRATION (LOGIN FORM)
<!-- 1. Include the Captcha Engine -->
<script src="https://innovatechservicesph.com/management/microservices.php?service=captcha&key=YOUR_API_KEY"></script>
<!-- 2. Add a Container and Login Button -->
<div id="captcha-box"></div>
<button id="login-btn" class="btn btn-primary" disabled>Login</button>
<script>
// 3. Move the injected box to your container
const boxCheck = setInterval(() => {
const box = document.querySelector('.js-captcha-box');
if (box) {
clearInterval(boxCheck);
document.getElementById('captcha-box').appendChild(box);
}
}, 100);
// 4. Enable button only when verified
setInterval(() => {
const isVerified = window.__captchaVerified && window.__captchaVerified();
document.getElementById('login-btn').disabled = !isVerified;
}, 500);
</script>
window.__captchaVerified() will return true.
Key Status & Credits
Monitor your remaining balance and key validity.
RESPONSE
{
"status": "active",
"remaining_credits": 450,
"expiration": "2026-12-31",
"project_name": "Innova Portal"
}
API Tracker
View a visual dashboard of your API usage, recent logs, and credit balance.