Created by potrace 1.10, written by Peter Selinger 2001-2011
HomeDashboard
v1 API Now Available
Created by potrace 1.10, written by Peter Selinger 2001-2011

Your unified
API backbone

A production-grade API platform with built-in authentication, webhook management, real-time metrics, and AI tooling — designed for scale.

Open DashboardAPI Reference
Terminal

$ curl -X GET https://api.mbathamelusi.co.za/api/v1/users

{

"data": [...],

"meta": { "page": 1, "total": 128 }

}

Capabilities

Everything you need to ship

A complete backend toolkit — from auth to AI — built on strict API design standards.

Authentication & RBAC

Powered by Better Auth with session management, OAuth, and granular role-based access control out of the box.

Application Registry

Register trusted origins for Cross-Origin access. Each application gets isolated logging and configuration.

Webhook Management

Manage Yoco payment and Resend email webhooks with signature verification, duplicate prevention, and full event logging.

Real-time Metrics

Redis-backed request tracking with per-minute timeseries, endpoint stats, and origin-level breakdowns.

AI Tooling

Built-in AI routes with multi-model support including Gemini, Mistral, and OpenAI-compatible providers.

API Standards

Strict design standards with snake_case naming, versioning, pagination, filtering, and structured error responses.

Rate Limiting

Configurable per-route rate limiting with Redis-backed counters and standard X-RateLimit headers.

Signature Verification

HMAC SHA256 and Svix-based signature verification ensures every incoming webhook payload is authentic.

Endpoints

Clean, consistent API routes

RESTful resource-based paths that follow strict naming and versioning conventions.

API v1 Routes

GET/api/v1/usersList all users with pagination
POST/api/v1/auth/sign-upCreate a new user account
POST/api/v1/auth/sign-inAuthenticate and retrieve session
GET/api/v1/metricsRetrieve real-time API metrics
POST/api/v1/webhook/yoco/registerRegister a Yoco payment webhook
POST/api/v1/webhook/resend/registerRegister a Resend email webhook
GET/api/v1/webhook/yoco/listList all Yoco webhook subscriptions
DELETE/api/v1/webhook/resend/:idRemove a Resend webhook

Design Philosophy

Built on principles, not hacks

Every endpoint follows non-negotiable rules for consistency, security, and developer experience.

01

Consistency

All endpoints follow the same patterns — snake_case naming, structured responses, and versioned URLs.

02

Predictability

Strict HTTP method semantics with correct status codes. No surprises — 200 means success, never errors.

03

Scalability

Pagination, filtering, and sorting on every list endpoint. Redis-backed caching and rate limiting.

04

Security by Default

HTTPS, input validation, authentication, authorization, and sensitive field masking are all mandatory.

Stack

Built with modern tools

Every layer is carefully chosen for performance, type-safety, and developer experience.

Next.js 16Framework
HonoRouter
Better AuthAuth
PocketBaseDatabase
Drizzle ORMORM
RedisCache
ResendEmail
YocoPayments
Vercel AI SDKAI
ZodValidation
TypeScriptLanguage
Tailwind CSSStyling

Ready to build?

Access the dashboard to manage your applications, webhooks, and monitor metrics in real-time.

Get StartedSign In

© 2026 Application Programming interface. All Rights Reserved.

Designed by Mbatha Melusi