Hifisys REST API Documentation
Integrate enterprise HRMS workflows and generative AI capabilities into your applications with secure, low-latency REST APIs.
Platform Overview
The Hifisys Enterprise API Platform delivers predictable, high-availability RESTful interfaces designed for modern software stacks. All API endpoints accept standard JSON payloads, return UTF-8 encoded JSON bodies, and follow idiomatic HTTP status codes.
HRMS API
Complete enterprise human resource management API for employee lifecycle, attendance, leaves, payroll, payslips, work logs, and analytics.
/api/v1/hrms
Reference
Chatbot API
Context-aware conversational AI assistant API powered by Google Gemini with company services and navigation awareness.
/api/v1/chatbot
Reference
AI Blog Generator API
Production-grade AI article engine that creates long-form, reader-first content, outlines, and SEO metadata.
/api/v1/ai/blog
Reference
AI Page Builder API
High-conversion website architecture API that generates semantic page sections, hero banners, and service copy.
/api/v1/ai/page-builder
Reference
Hifisys CRM & Lead Automation Platform
Complete Zoho CRM-grade customer relationship platform and API suite. Unifies multi-channel lead capture, contact & account management, configurable visual sales pipelines, automated workflow triggers, multi-tenant REST APIs, and revenue analytics.
/api/v1/leads
Reference
API Authentication
The Hifisys API uses cryptographically secure, SHA-256 hashed API keys. Every inbound request must provide an active key via HTTP headers over HTTPS. Unauthenticated requests return HTTP 401 Unauthorized.
Method A: Custom Header (Recommended)
Pass your API key directly in the custom header:
X-API-Key: YOUR_API_KEY
Method B: Bearer Token
Pass your API key using standard Bearer authorization:
Authorization: Bearer YOUR_API_KEY
Never commit API keys to version control repositories (Git) or expose them in client-side browser JavaScript. Always make API calls from backend server environments (e.g. Node.js, Laravel, Python, Go) or serverless functions.
Base URL & Quickstart Example
All production requests are routed under the /api/v1 prefix:
# Check Platform Health
curl -X GET "https://hifisys.com/api/v1/health" \
-H "Accept: application/json"
# Authenticated Request Example
curl -X GET "https://hifisys.com/api/v1/hrms/employees" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Accept: application/json"
Rate Limits & Quota Headers
Rate limiting prevents service abuse and ensures predictable quality of service. Every response from our API gateway includes four standardized headers informing you of your exact allowance in real-time:
| Response Header | Type | Description |
|---|---|---|
| X-RateLimit-Limit | Integer | Maximum requests allowed per 1-minute rolling window for your tier plan. |
| X-RateLimit-Remaining | Integer | Remaining requests available in the current 1-minute window. |
| X-Quota-Monthly | Integer | Total monthly API calls allocated by your plan subscription. |
| X-Quota-Remaining | Integer | Remaining monthly API calls before month-end reset or quota top-up. |
HTTP Status Codes & Error Formats
Our API uses standard HTTP response codes to indicate success or failure. In case of an error, a structured JSON body is returned detailing the error reason:
Request completed successfully. Data returned in data payload.
Missing, revoked, or invalid API key provided in request headers.
Key is valid, but plan does not have permission for the requested scope.
Per-minute burst rate limit or monthly consumption quota exceeded.
Standard Error Payload Example
{
"success": false,
"message": "Forbidden. Missing required scope entitlement: 'attendance:write'.",
"error_code": "SCOPE_DENIED",
"required_scope": "attendance:write"
}
Security & Credential Lifecycle
- Store in Environment Variables: Use
.envor secrets managers (e.g. AWS Secrets Manager, HashiCorp Vault) on backend servers. - Scope Principle of Least Privilege: Restrict client keys to the exact scopes needed (e.g. read-only keys for reporting dashboards).
- Seamless Key Regeneration: If an API key is ever accidentally disclosed, use the Admin Console to regenerate it instantly.
Frequently Asked Questions
*) for 7 days with trial call quotas so you can test all endpoints thoroughly.