REST API · Laravel 12 · Sanctum Auth

Customer Relationship
Management API

A full-featured CRM backend — leads, meetings, demos, quotations, payroll, attendance, communication integrations and more. All secured with Sanctum authentication and role-based access control.

25+
Core Modules
180+
API Endpoints
RBAC
Role-Based Access
<500ms
Response Target
PSR-12
Code Standard

Everything built into this CRM

Every module is production-ready with service layers, form request validation, API resources, and Eloquent relationships.

Lead Management

Full lead lifecycle — create, update, transfer, share, bulk delete, export/import. Status conversions to verified, not interested, or callback. Priority management and notes.

Follow-ups Bulk transfer Export / Import Notes Callbacks
💰

Lead Sales & Finance

Record sales against leads, track payment history, manage incentives, and run aggregated or individual sales reports. Finance approval and billing workflows included.

Payment history Incentive tracking Sale approval Bill management
📅

Meetings

Schedule and manage client meetings with full lifecycle support — transfer, reschedule, cancel, OTP-based verification, arrived/started/completed status tracking.

OTP verify Reschedule Status tracking Team members
🎤

Demo Management

Schedule product demos with assignees, products, and Google Calendar integration. Full demo lifecycle — start, complete, cancel, reschedule, and share with attendees.

Google Calendar Assignees Products Share
📄

Quotations

Build and send professional quotations with line items, terms, and custom email bodies. Draft workflow, PDF export, email history, and resend functionality.

PDF export Email delivery Drafts Terms Templates

Tasks

Multi-assignee tasks with tags, queries, logs, and recurrence management. Task completion tracking, product attachments, and per-user activity logs.

Recurrence Tags Queries Multi-assignee
📁

Projects

Manage client projects end-to-end with team assignments, tickets, media file uploads, project chat, and task linking. Active and completed project views.

Tickets Media files Team chat Tasks
📦

Products

Central product catalogue used across sales, demos, meetings, tasks, and quotations. CRUD with search and CSV export.

CSV export Search Shared across modules
📍

Field Visits

Log and track field sales visits. Create, fetch, search, and delete visit records. Linked to leads for a complete activity trail.

Visit logs Lead-linked Search
📅

Attendance & Location

GPS-enabled check-in/check-out with real-time location tracking. Aggregated and detailed attendance reports, backfill support, and subordinate views.

GPS tracking Check-in / out Reports Backfill
🏕

Leave Management

Define leave types and entitlements per user. Application workflow with approval and rejection by managers. Pending, approved, and rejected leave views.

Leave types Entitlements Approve / Reject
💸

Payroll

Generate and manage payroll payments with additions and deductions. Export individual or all payroll records. Payment type configuration included.

Additions / Deductions Export Payment types
🕐

Shifts & Holidays

Configure work shifts and manage the company holiday calendar. Year-based holiday views and dashboard holiday widget for employees.

Work shifts Holiday calendar Year views
👥

Users & Roles

Full user lifecycle with profiles, documents, bank details, addresses, and assets. Role-based permission system with granular access control and user impersonation.

RBAC Permissions KYC Impersonation Assets
🏢

Companies

Multi-company support with active/inactive status management. Each company operates as an independent tenant with its own users, leads, and settings.

Multi-tenant Status management Search
📞

Phone Call Logs

IVR and manual call log tracking with incoming/outgoing call reports. Aggregated analytics, per-user call records, and bulk data uploads from IVR systems.

IVR integration Incoming / Outgoing Aggregated reports
📱

Communication Integrations

Configure multiple messaging channels — WhatsApp Business (WABA), SMS, RCS, IVR, and SMTP email — per account. Per-user integration settings supported.

WhatsApp (WABA) SMS RCS IVR SMTP
📈

Dashboard

Role-aware dashboard aggregating today's attendance, latest leads, meetings, tasks, projects, demos, visits, upcoming holidays, and team birthdays.

Attendance summary Latest activity Holidays Birthdays
📊

Activity Logs

Immutable per-user activity audit trail tracking every meaningful action across the system for compliance and debugging.

Audit trail Per-user Immutable
🔔

Notifications

Push notification delivery to user devices with per-user notification feeds. Scheduled notifications and notification integration configuration.

Push notifications Scheduled Device tokens
🔒

Authentication

Email + OTP registration with Sanctum token-based auth. Google OAuth login, email verification, and secure logout. Account-level validation middleware.

Sanctum tokens Google OAuth OTP verification
🏷

Tags

Flexible tagging system shared across tasks and projects. Create, update, delete, and search tags for better content organisation.

Tasks Projects Search

Consistent JSON responses

Every endpoint returns a predictable envelope so clients never need to guess the structure.

✅ Success Response

JSON
{
  "success": true,
  "message": "Lead created successfully",
  "data": {
    "id": 42,
    "name": "Acme Corporation",
    "status": "new",
    "priority": "high",
    "created_at": "2026-06-20T10:00:00Z"
  }
}

❌ Error Response

JSON
{
  "success": false,
  "message": "Validation failed",
  "errors": {
    "name": [
      "The name field is required."
    ],
    "email": [
      "The email must be a valid address."
    ]
  }
}

Built on proven foundations

Modern, stable technologies chosen for performance and long-term maintainability.

🌲
Laravel
v12.x
📡
PHP
8.3+
🐘
MySQL
8.0+
🔒
Sanctum
Token Auth
📦
Queue Jobs
Redis / DB
🔍
Eloquent ORM
Eager loading
📄
API Resources
Transformers
📋
Form Requests
Validation
📅
Google Calendar
OAuth 2.0
📱
Firebase FCM
Push Notifications