Netasampark logo
Operational

Netasampark API Control Center

Health Routes Docs
Env: PRODUCTION
Version: v2.0
Build: f4594ad @ 2026-03-11 07:35:56
Base URL: https://api.netasampark.com

Secure, fast, and ready for every module in the Netasampark stack.

Your RESTful backbone for campaigns, admins, grievances, and PWA experiences. Monitor uptime, discover endpoints, and jump into the right surface with one click.

Snapshot
Endpoints
1,504
Auto-counted from /api routes
API Version
v2.0
Latest stable
Uptime
100%
Healthy
Quick diagnostics View full catalogue
GET
/api/healthz
Live status, latency, and basic heartbeat
GET
/api/routes
Full route list for quick discovery
GET
/api/auth/login/guide
Payload + instructions to obtain auth tokens
GET
/api/pwa/dashboard/sample
Sample dashboard payload (no auth). Live: /api/pwa/dashboard
Auth quickstart Token guidance
Get a token
curl -X POST "https://api.netasampark.com/api/auth/login" ^
  -H "Content-Type: application/json" ^
  -d "{ \"email\": \"user@example.com\", \"password\": \"secret\" }"
On success, store the bearer token and send it in the Authorization header.
Use the token
curl "https://api.netasampark.com/api/healthz" ^
  -H "Authorization: Bearer <token>" ^
  -H "Accept: application/json"
Replace <token> with the value returned from login.
Observability & reliability SLO targets
Live signals
Health
...
/api/healthz
Uptime 24h
...
from /api/metrics
Latency p95
...
from /api/metrics
Queue lag
...
from /api/metrics
Uptime target
99.9%
Monthly availability
Latency p95
< 400ms
Core read endpoints
Error budget
0.1%
5xx allowed per month
Queue lag
< 60s
Async jobs (target)
Tooling & artifacts Integrations
GET
Route catalogue
Export and share with teams
GET
OpenAPI (JSON)
Downloadable spec for tooling
GET
Postman Collection
Import to Postman quickly
GET
/graphql/schema.graphql
GraphQL schema (if enabled)
DOCS
Developer documentation
Guides, auth flows, examples
GET
Sample dashboard payload
Use for mocks and sandbox
OpenAPI Viewer
Access, security & support Governance
RBAC & tokens
Auth: Bearer tokens via POST /api/auth/login
Roles: Admin / Operator / Viewer
PII: Protect voter data; log redaction recommended
Rate limit: Respect X-RateLimit headers (if configured)
CORS: Ensure allowed origins in config/cors.php
Support & SLO
SLO: 99.9% uptime, p95 < 400ms
Maintenance: Sat 01:00–03:00 IST (planned)
Support: support@netasampark.com
Escalation: +91-XXXXXXXXXX (L2 on-call)
Security: security@netasampark.com (report vulnerabilities)
Platform modules One brand, multiple surfaces
PWA Application
Field operations & voter engagement
Open
Admin Panel
Control center for leadership
Open
Grievance Portal
Track and resolve issues
Open
Developer Docs
Guides, auth flows, examples
Docs
Readiness Probe
Dependency checks & boot readiness
Check
Metrics Snapshot
Uptime, latency, error rate, queue lag
View