Documentation

Welcome to the official docs for itsmechinna.com. Guides, API reference, and service integration docs live here.

Introduction

This platform runs a suite of AI-powered products behind itsmechinna.com. All services communicate via a shared API layer and are backed by a self-hosted Supabase instance.

📌 Full documentation is being written. Check back soon for complete API reference and integration guides.

Quickstart

To get started, point your requests to the API base URL and include your API key in the Authorization header.

curl -H "Authorization: Bearer YOUR_ANON_KEY" \
  https://api.itsmechinna.com/api/v1

Authentication

Authentication is handled via Supabase Auth running at supabase.itsmechinna.com. All endpoints require a valid JWT token issued by the Supabase instance.

const { data, error } = await supabase.auth.signInWithPassword({
  email: 'user@example.com',
  password: 'password'
})

Endpoints

Base URL: https://api.itsmechinna.com

GET  /health       → { status: "ok", version: "1.0.0" }
GET  /api/v1       → { status: "ok", endpoints: [...] }

Error Codes

All errors return JSON with an error field and HTTP status code. Standard REST conventions apply.

{ "error": "Not found", "path": "/missing" }   // 404
{ "error": "Unauthorized" }                    // 401